EVENT CROUCH

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

EVENT_CROUCH is a Game Event.

This event is fired when the player is crouching (down key pressed when jetpack is not on). Note that this event only fires if the player is not in the air.

Set gamevar RETURN to any non-zero value to disable crouching.