Background for Fallout 4
Member of the ScriptObject script
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

  1. stringasEventName

  2. 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)
EndEvent

Auto-Generated Example

Scriptname MyCoolScript extends ScriptObject

event OnTutorialEvent(string asEventName, Message aMessage)
    Debug.trace("Event received - OnTutorialEvent: asEventName = " + asEventName + " aMessage = " + aMessage)
endEvent

Related Pages


Additional References

View this event’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.