OnBegin - Scene

From the Fallout4 CreationKit Wiki
Revision as of 15:55, 12 March 2013 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus Category:Events '''Member of:''' Scene Script Event called when a scene begins. == Syntax == <source lang="papyrus"> Event O...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Scene Script

Event called when a scene begins.

Syntax[edit | edit source]

Event OnBegin()

Parameters[edit | edit source]

None.

Examples[edit | edit source]

Event OnBegin()
  Debug.Trace("This scene has started running")
endEvent

Notes[edit | edit source]

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

See Also[edit | edit source]