Jump to content

EVENT CHECKTOUCHDAMAGE

From EDukeWiki
Revision as of 15:02, 14 May 2012 by Hendricks266 (talk | contribs) (Created page with "EVENT_CHECKTOUCHDAMAGE is a Game Event. This event is triggered in P_CheckTouchDamage() whenever the player collides with walls and sprites. The va...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

EVENT_CHECKTOUCHDAMAGE is a Game Event.

This event is triggered in P_CheckTouchDamage() whenever the player collides with walls and sprites. The value of RETURN is set to the result provided by clipmove() and so can be decoded in the same way. The value of RETURN when the event is over can also be manipulated to control some of the hard coded damage effects.