Difference between revisions of "OnSell"
Jump to navigation
Jump to search
imported>JOG (Moved to "Category: Blocktypes") |
imported>Quetzilla m |
||
Line 1: | Line 1: | ||
'''Syntax:''' | '''Syntax:''' | ||
begin OnSell SellerRefID | begin OnSell ''SellerRefID'' | ||
'''Example:''' | '''Example:''' | ||
begin OnSell player | begin OnSell player |
Latest revision as of 23:34, 28 May 2008
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.