Mod:Creation Kit/OnSell - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Event called when the object has just been sold by someone.

Syntax
Event OnSell(Actor akSeller)

Parameters

 * akSeller: The actor we were sold by.

Examples
Event OnSell(Actor akSeller) if (akSeller == Game.GetPlayer) Debug.Trace("We were sold by the player") else Debug.Trace("Someone (or something) else sold us") endIf endEvent