UnregisterForTutorialEvent - ScriptObject
Jump to navigation
Jump to search
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.
Syntax[edit | edit source]
Function UnregisterForTutorialEvent(string asEventName) Native
Parameters[edit | edit source]
- asEventName: The name of the tutorial event to unregister for. See OnTutorialEvent for event names.
Return Value[edit | edit source]
None
Examples[edit | edit source]
; Unregister for tutorial-related events.
UnregisterForTutorialEvent("HackingEntered")
Notes[edit | edit source]
None