EVENT DISPLAYKNUCKLES: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 3: Line 3:
EVENT_DISPLAYKNUCKLES is a [[EDuke32_event_list|Game Event]].
EVENT_DISPLAYKNUCKLES is a [[EDuke32_event_list|Game Event]].


This event is run whenever the knuckle crack animation is displayed. Triggered in-game by idling for a set amount of time.
This event is run whenever the knuckle crack animation is displayed, i.e. when [[knuckle_incs]] is greater than 0. Triggered in-game by idling for a set amount of time.


If RETURN is set to -1, the animation is disabled, and the currently active weapon will still be displayed.
If RETURN is set to -1, the animation is disabled, and the currently active weapon will still be displayed.

Latest revision as of 11:18, 4 February 2022

Event ID player# THISACTOR RETURN
EVENT_DISPLAYKNUCKLES screenpeek player->i 1 value

EVENT_DISPLAYKNUCKLES is a Game Event.

This event is run whenever the knuckle crack animation is displayed, i.e. when knuckle_incs is greater than 0. Triggered in-game by idling for a set amount of time.

If RETURN is set to -1, the animation is disabled, and the currently active weapon will still be displayed.

If RETURN is set to 1, the animation is disabled, but the weapon will remain hidden until knuckle_incs is 0.