mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
Merge pull request #1194 from Areloch/onClientMissionLoadedCallback
Adds a callGamemodeFunction invoke for when the client is done loading the mission so the gamemode can do stuff once the player is done loading, but before fully connecting/spawning in
This commit is contained in:
commit
e68643c6ce
1 changed files with 2 additions and 0 deletions
|
|
@ -274,6 +274,8 @@ function sceneLightingComplete()
|
||||||
|
|
||||||
onPhaseComplete("STARTING MISSION");
|
onPhaseComplete("STARTING MISSION");
|
||||||
|
|
||||||
|
callGamemodeFunction("onClientMissionLoaded");
|
||||||
|
|
||||||
// The is also the end of the mission load cycle.
|
// The is also the end of the mission load cycle.
|
||||||
commandToServer('MissionStartPhase3Ack', $MSeq);
|
commandToServer('MissionStartPhase3Ack', $MSeq);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue