Mod:Creation Kit/OnWorkshopMode - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Event received when the player enters or leaves Workshop mode. The event is sent to the Workshop reference.

Syntax
Event OnWorkshopMode(bool aStart)

Parameters

 * aStart: true when the player starts Workshop mode, false when the player leaves it.

Examples
Event OnWorkshopMode(bool aStart) if ( aStart ) Debug.Trace("Workshop Mode Started") else Debug.Trace("Workshop Mode Ended") endif EndEvent