Ifhitweapon: Difference between revisions
Jump to navigation
Jump to search
Hunter byte (talk | contribs) mNo edit summary |
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.