RegisterForTutorialEvent - ScriptObject
Revision as of 11:29, 3 December 2015 by imported>Plplecuyer
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
Function RegisterForTutorialEvent( String asEventName ) native
Parameters
- asEventName - The name of the tutorial event to register for. See OnTutorialEvent for event names.
Return Value
None
Examples
; Register for Tutorial event
RegisterForTutorialEvent("HackingEntered")