Htextra: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Categories |
||
Line 6: | Line 6: | ||
sets TEMP to the amount of damage [[THISACTOR]] will take from the weapon currently hitting it. This amount can be modified before the actor actually takes any damage. | sets TEMP to the amount of damage [[THISACTOR]] will take from the weapon currently hitting it. This amount can be modified before the actor actually takes any damage. | ||
[[Category:Sprite structure members]] |
Revision as of 06:59, 7 September 2006
htextra is the amount of damage to be incurred by the weapon that is currently hitting the actor in question.
Example:
getactor[THISACTOR].htextra TEMP
sets TEMP to the amount of damage THISACTOR will take from the weapon currently hitting it. This amount can be modified before the actor actually takes any damage.