Difference between revisions of "OnUnequip"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
(Moved to "Category: Blocktypes")
imported>Quetzilla
Line 1: Line 1:
'''Syntax:'''
'''Syntax:'''
   begin OnUnequip ActorID (optional)
   begin OnUnequip ''ActorID''
'''Example:'''
'''Example:'''
   begin OnUnequip  
   begin OnUnequip  

Revision as of 23:42, 28 May 2008

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.