EVENT JUMP: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m .
One (talk | contribs)
No edit summary
Line 1: Line 1:
EVENT_JUMP is a [[EDuke32_event_list|Game Event]].
This [[event]] is called when the player presses the key assigned to jump (''A'' by default).
This [[event]] is called when the player presses the key assigned to jump (''A'' by default).


However, the event is not triggered unless the members of the player structure [[jumping_toggle]] and [[jumping_counter]] both equal zero.
However, the event is not triggered unless the members of the player structure [[jumping_toggle]] and [[jumping_counter]] both equal zero.


Set gamevar [[RETURN]] to any non-zero value to ignore the key.
[[Category:Events]]
[[Category:Events]]

Revision as of 11:41, 3 May 2009

EVENT_JUMP is a Game Event.

This event is called when the player presses the key assigned to jump (A by default).

However, the event is not triggered unless the members of the player structure jumping_toggle and jumping_counter both equal zero.

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