PDA

View Full Version : Removing lweapons?



Gleeok
05-19-2008, 04:53 PM
I cannot for the life of me remember in what post in what obscure thread this was mentioned. I'm guessing this is Deadstate, but I'm not sure what to set this at, or, what weapons this might not work with.

What I need it to do is remove a lweapon (LW_MAGIC, or LW_ARROW) the same exact frame the function to remove it is used, at the Waitframe();, or when the screen is drawn for that frame. Anything later would royaly screw up the whole process. Basically so that the weapon would only be accessed once by the script, and then wouldn't exist the following frame.

Help?

Joe123
05-19-2008, 05:42 PM
If you set 'DeadState' to '0', the weapon dissapears.

Gleeok
05-19-2008, 09:08 PM
D'oh. Well I mean that should have been obvious...

..maybe too obvious?



Thanks. That fixed it right up.