소스 검색

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
Brian Roberts 1 년 전
부모
커밋
e68643c6ce
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);
 }