OnHitWith

From the Oblivion ConstructionSet Wiki
Revision as of 18:38, 31 January 2006 by imported>Ecaponi
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax:

 begin OnHitWith ObjectID (optional)

Example:

 begin OnHitWith SuperWeapon 

This block will be run once when the scripted actor is hit by the specified weapon. If no parameter is used, the block will be run when the scripted actor is hit by any weapon.