Jump to content

EVENT CHECKTOUCHDAMAGE: Difference between revisions

From EDukeWiki
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..."
(No difference)

Revision as of 15:02, 14 May 2012

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.