Background for Starfield
Member of the Scene script
eventOnEnd()

Description

Wiki Description

Event called when a scene ends.

Documentation Comment

Event received when this scene ends (in parallel with the fragment)


Caveats

CK Wiki - Notes

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

Examples

Event OnEnd()
  Debug.Trace("This scene has finished running")
endEvent

Auto-Generated Example

Scriptname MyCoolScript extends Scene

event OnEnd()
    Debug.trace("Event received - OnEnd")
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.