Miliastra Wonderland Lua API

OnStart

function OnStart()

Called after the first time the Client Control's OnEnable callback is called.

  • Ignored by Module scripts.

Stage Start Lifecycle Function Call Order

  1. Top Level Code > OnInit - Global Script
  2. Top Level Code > OnInit - Client Control Hierarchy
  3. OnEnable - Client Control Hierarchy
  4. OnStart - Client Control Hierarchy
  5. OnEnable - Global Script
  6. OnStart - Global Script
  7. OnUpdate > OnLevelUpdate - Global Script
  8. OnUpdate > OnLevelUpdate - Client Control Hierarchy
  9. OnDestroy - Global Script (On Stage End)