OnDeath

From the Oblivion ConstructionSet Wiki
Revision as of 02:54, 26 May 2006 by imported>JOG (Moved to "Category: Blocktypes")
Jump to navigation Jump to search

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.