UnregisterForTutorialEvent - ScriptObject

Revision as of 21:06, 11 February 2018 by imported>Qazaaq (added category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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