Преглед на файлове

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

Areloch преди 1 година
родител
ревизия
b0b0cbfaef
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      Templates/BaseGame/game/core/clientServer/scripts/client/levelDownload.tscript

+ 2 - 0
Templates/BaseGame/game/core/clientServer/scripts/client/levelDownload.tscript

@@ -274,6 +274,8 @@ function sceneLightingComplete()
    
    onPhaseComplete("STARTING MISSION");
    
+   callGamemodeFunction("onClientMissionLoaded");
+   
    // The is also the end of the mission load cycle.
    commandToServer('MissionStartPhase3Ack', $MSeq);
 }