EVENT USEJETPACK

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_USEJETPACK player that executed the input player->i 1 value

EVENT_USEJETPACK is a Game Event.

This event is called when the player presses the key assigned to toggle the Jetpack on and off (J key by default).

Set gamevar RETURN to any non-zero value to ignore the key.