EVENT DISPLAYKNEE: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Created page with "EVENT_DISPLAYKNEE is a Game Event. This event is run whenever a shrunk enemy is being crushed. Set RETURN to -1 to disable the foot animation. This does not affect the slot 1 kick, or the quick kick. Category:Events"
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{EventTable|1=EVENT_DISPLAYKNEE|2=[[screenpeek]]|3=[[i|player->i]]|4=1 value}}
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 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.
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.


[[Category:Events]]
[[Category:Events]]

Latest revision as of 11: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.