OnUnequip

Revision as of 02:59, 26 May 2006 by imported>JOG (Moved to "Category: Blocktypes")

Syntax:

 begin OnUnequip ActorID (optional)

Example:

 begin OnUnequip 
 begin OnUnequip player 

This block will be run once when the scripted object is unequipped by the specified Actor. If no parameter is used, the block will be run whenever the object is unequipped by any actor.