Ifhitweapon: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
One (talk | contribs)
No edit summary
Line 1: Line 1:
'''ifhitweapon''' { do something } else { do something else }
Checks if the current [[actor]] was struck by a weapon. This must be called somewhere in an actor in order for it to be effected by projectiles. Also see [[ifwasweapon]].
Checks if the current [[actor]] was struck by a weapon. This must be called somewhere in an actor in order for it to be effected by projectiles. Also see [[ifwasweapon]].



Revision as of 11:48, 4 May 2009

ifhitweapon { do something } else { do something else }

Checks if the current actor was struck by a weapon. This must be called somewhere in an actor in order for it to be effected by projectiles. Also see ifwasweapon.