EVENT DISPLAYKNEE: Difference between revisions

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


This event is run whenever a shrunk enemy is being crushed. Set RETURN to -1 or 1 to disable the foot animation.
This event is run whenever a shrunk enemy is being crushed, i.e. when [[knee_incs]] is greater than 0. Set RETURN to -1 or 1 to disable the foot animation.


This does not affect the slot 1 kick, or the quick kick.
This does not affect the slot 1 kick, or the quick kick.

Latest revision as of 10:19, 4 February 2022

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

EVENT_DISPLAYKNEE is a Game Event.

This event is run whenever a shrunk enemy is being crushed, i.e. when knee_incs is greater than 0. Set RETURN to -1 or 1 to disable the foot animation.

This does not affect the slot 1 kick, or the quick kick.

Interestingly, it appears that originally this animation disabled the weapon display, like EVENT_DISPLAYACCESS, but it currently instead lowers the weapon. As such, there is no difference between setting RETURN to 1 or -1.