UnregisterForTutorialEvent - ScriptObject

Member of: ScriptObject

Unregisters this script from receiving OnTutorialEvent.

Only the script that unregisters for an event will stop receiving it. Other scripts will still receive the event if they registered for it separately.

SyntaxEdit

Function UnregisterForTutorialEvent(string asEventName) Native

ParametersEdit

  • asEventName: The name of the tutorial event to unregister for. See OnTutorialEvent for event names.

Return ValueEdit

None

ExamplesEdit

; Unregister for tutorial-related events.
UnregisterForTutorialEvent("HackingEntered")

NotesEdit

None

See AlsoEdit