EVENT INCURDAMAGE: Difference between revisions
Jump to navigation
Jump to search
LordMisfit (talk | contribs) mNo edit summary |
LordMisfit (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
'''EVENT_INCURDAMAGE''' is a constantly running event that checks for any damage inflicted into the player, and if the player is wearing any armor[SHIELD], it will split the damage into 2/3s to Health and 1/3 to Armor. If you add "setvar RETURN -1" to this event, armor will not be factored into the damage automatically, and you can create your own code for how armor reduces damage. | '''EVENT_INCURDAMAGE''' is a constantly running event that checks for any damage inflicted into the player, and if the player is wearing any armor[SHIELD], it will split the damage into 2/3s to Health and 1/3 to Armor. If you add "setvar RETURN -1" to this event, armor will not be factored into the damage automatically, and you can create your own code for how armor reduces damage. | ||
[[Category:Events]] |
Revision as of 16:20, 3 October 2006
EVENT_INCURDAMAGE is a constantly running event that checks for any damage inflicted into the player, and if the player is wearing any armor[SHIELD], it will split the damage into 2/3s to Health and 1/3 to Armor. If you add "setvar RETURN -1" to this event, armor will not be factored into the damage automatically, and you can create your own code for how armor reduces damage.