EVENT SWIMDOWN

From EDukeWiki
Jump to navigation Jump to search
Event ID player# THISACTOR RETURN
EVENT_SWIMDOWN player that executed the input player->i 1 value

EVENT_SWIMDOWN is a Game Event.

This event is called when the player is in the water and he swim down ( Work with "crouch" key, default is "z" ).

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

See also EVENT_SWIMUP.