Difference between revisions of "OnDeath"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Ecaponi
 
imported>JOG
(Moved to "Category: Blocktypes")
Line 6: Line 6:
This block will be run once when the scripted actor is killed by the specified ActorID. If no parameter is used, the block will be run when the scripted actor dies.  
This block will be run once when the scripted actor is killed by the specified ActorID. If no parameter is used, the block will be run when the scripted actor dies.  


[[Category: Commands]]
[[Category: Blocktypes]]

Revision as of 02:54, 26 May 2006

Syntax:

 begin OnDeath ActorID (optional)

Example:

 begin OnDeath SuperChampion 

This block will be run once when the scripted actor is killed by the specified ActorID. If no parameter is used, the block will be run when the scripted actor dies.