OnSell

Revision as of 00:34, 29 May 2008 by imported>Quetzilla
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax:

 begin OnSell SellerRefID

Example:

 begin OnSell player 

This block will be run once when the scripted object is sold. If you specify a SellerRefID, the block will only run when that specific reference sells the object; otherwise, the block will run when any NPC sells the scripted object.