EVENT KILLIT

From EDukeWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Event ID player# THISACTOR RETURN
EVENT_KILLIT closest player to sprite sprite being deleted 1 value

EVENT_KILLIT is a Game Event.

This event is fired when an actor is about to be deleted by the killit command, or through other means.

RETURN is set to 0 by default. Set it to any non-zero value to prevent the actor from being deleted.

WARNING: Be carefull when using commands that change the gamevar RETURN (such as espawn), as you may need to set it back to zero.