Difference between revisions of "OnDeath"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
(Moved to "Category: Blocktypes")
imported>Axle12693
Line 4: Line 4:
   begin OnDeath SuperChampion  
   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.  
This block will be run once when the scripted actor is killed by the specified ActorID. If no parameter (parameter meaning, in this case, "superchampion", or actorid) is used, the block will be run when the scripted actor dies.  


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

Revision as of 18:44, 2 December 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 (parameter meaning, in this case, "superchampion", or actorid) is used, the block will be run when the scripted actor dies.