EVENT KILLIT: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
EVENT_KILLIT is a [[EDuke32_event_list|Game Event]]. | EVENT_KILLIT is a [[EDuke32_event_list|Game Event]]. | ||
This [[event]] is fired when an actor is about to be | This [[event]] is fired when an actor is about to be deleted by the [[killit]] command or by the game. Set gamevar [[RETURN]] to any non-zero value to prevent the actor from being deleted. | ||
Note: Be carefull while using commands that change the gamevar RETURN (such as [[espawn]]), as you may need to set it back to zero. | Note: Be carefull while using commands that change the gamevar RETURN (such as [[espawn]]), as you may need to set it back to zero. | ||
[[Category:Events]] | [[Category:Events]] |
Revision as of 12:17, 20 July 2014
EVENT_KILLIT is a Game Event.
This event is fired when an actor is about to be deleted by the killit command or by the game. Set gamevar RETURN to any non-zero value to prevent the actor from being deleted.
Note: Be carefull while using commands that change the gamevar RETURN (such as espawn), as you may need to set it back to zero.