EVENT CROUCH

From EDukeWiki
Revision as of 13:13, 8 June 2008 by Hunter byte (talk | contribs)
Jump to navigation Jump to search

EVENT_KILLIT is a Game Event.

This event is fired when an actor is about to killed by the killit command or the game.

Set gamevar RETURN 0 to let the actor die.
Set gamevar RETURN 1 to let the actor live.
Note: by default the game kills actors but it's advisable to set RETURN explicitly before exiting the event. Otherwise the RETURN may change during processing the event because some commands change this gamevar.