Difference between revisions of "OnHit"
Jump to navigation
Jump to search
imported>Ecaponi |
imported>Diablerie (Clarification, triggers on spells) |
||
Line 4: | Line 4: | ||
begin OnHit BaurusRef | begin OnHit BaurusRef | ||
This block will be run once when the scripted actor is hit by the specified ActorID. If no parameter is used, the block will be run when the scripted actor is hit by anyone. | This block will be run once when the scripted actor is hit by the specified ActorID, either by a weapon a spell. If no parameter is used, the block will be run when the scripted actor is hit by anyone. | ||
[[Category: Commands]] | [[Category: Commands]] |
Revision as of 10:01, 15 April 2006
Syntax:
begin OnHit ActorID (optional)
Example:
begin OnHit BaurusRef
This block will be run once when the scripted actor is hit by the specified ActorID, either by a weapon a spell. If no parameter is used, the block will be run when the scripted actor is hit by anyone.