UnregisterForTutorialEvent - ScriptObject

From the Fallout4 CreationKit Wiki
Revision as of 21:06, 11 February 2018 by imported>Qazaaq (added category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

See Also[edit | edit source]