OnWorkshopMode - ObjectReference

Member of: ObjectReference Script

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

SyntaxEdit

Event OnWorkshopMode(bool aStart)

ParametersEdit

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

ExamplesEdit

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

See AlsoEdit