Thread: BO DFX2 Map
View Single Post
  #4  
Old 07-17-2018, 10:34 PM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

Quote:
Originally Posted by bigsmellyfart View Post

p.s. is there any scripting or wac code to reload an empty em-placed weapon...?
mmm - Try this assuming the weapon is (ssn1) and you have a duplicate weapon (ssn2) in the same place.

if ssnnearssn(player,1,30) then
hidessn(2)
endif

if meattached(1) then
ssnspawn(1, 1)
else
if not meattached(1) and not ssnnearssn(player,1,30) then
killssn(1)
unhide ssn(2)
end
endif



Edit
Note: I'm hoping ssn2 doesn't work when hidden.
If ssn2 blows up try doing the same thing as above to it or give it health or make it invincible in the med or something
Reply With Quote