RegisterForTutorialEvent - ScriptObject

From the Fallout4 CreationKit Wiki
Revision as of 21:05, 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

Registers this script to receive OnTutorialEvent.

Only the script that registers for an event will receive it. Other scripts will not receive the event unless they also register for it. Once the event is received, you will be unregistered automatically.

Syntax[edit | edit source]

Function RegisterForTutorialEvent( String asEventName ) Native

Parameters[edit | edit source]

  • asEventName - The name of the tutorial event to register for. See OnTutorialEvent for event names.

Return Value[edit | edit source]

None

Examples[edit | edit source]

; Register for Tutorial event
RegisterForTutorialEvent("HackingEntered")

See Also[edit | edit source]