Background for Starfield
Member of the Scene script
eventOnAction(intauiActionID, ReferenceAliasakAlias)

Description

Wiki Description

Event called when a scene timer action is run.

Documentation Comment

Event received when a scene action is executed on an alias (in parallel with the fragment)


Caveats

CK Wiki - Notes

  • This event runs in parallel with the scene timer action fragment.
  • The scene action will not be considered finished until the fragment and events on all scripts (on the quest or remotely registered) have finished running.

Parameters

intauiActionID

CK Wiki Description

The action ID being run

ReferenceAliasakAlias

CK Wiki Description

The alias the action is running on


Examples

Event OnAction(int auiActionID, ReferenceAlias akAlias)
  Debug.Trace("Scene timer action " + auiActionID + " is running on " + akAlias)
endEvent

Auto-Generated Example

Scriptname MyCoolScript extends Scene

event OnAction(int auiActionID, ReferenceAlias akAlias)
    Debug.trace("Event received - OnAction: auiActionID = " + auiActionID + " akAlias = " + akAlias)
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.