Difference between revisions of "OnDeath"

173 bytes added ,  08:23, 10 April 2010
no edit summary
imported>Ecaponi
 
imported>Longcat
 
(2 intermediate revisions by 2 users not shown)
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: Commands]]
*Note:
If a script calls [[SayTo]] and the actor dies while talking, ondeath triggers AFTER sayto is done.
 
[[Category: Blocktypes]]
Anonymous user