eventOnTutorialEvent(stringasEventName, MessageaMessage)
Description
Wiki Description
Event called whenever a tutorial-related event occurs. This event will only be sent to the specific script that registered for it. Other scripts will not receive the event unless they also register. Once you receive an event you will be automatically unregistered.
Documentation Comment
Occurrence of a tutorial-related event
Parameters
stringasEventName
MessageaMessage
Examples
Function SomeFunction()
RegisterForTutorialEvent() ; Before we can use TutorialEvent we must register.
EndFunction
Event OnTutorialEvent(String asEventName, Message aMessage)
Debug.Trace("Event Name: " + aiFlavor)
Debug.Trace("Associated Message: " + aMessage)
EndEventAuto-Generated Example
Scriptname MyCoolScript extends ScriptObject
event OnTutorialEvent(string asEventName, Message aMessage)
Debug.trace("Event received - OnTutorialEvent: asEventName = " + asEventName + " aMessage = " + aMessage)
endEvent