OnUnequip

From the Oblivion ConstructionSet Wiki
Revision as of 23:42, 28 May 2008 by imported>Quetzilla
Jump to navigation Jump to search

Syntax:

 begin OnUnequip ActorID

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.