Exemple #1
0
 public void clientWantsGhostAlwaysRetry(GameConnection client)
 {
     if (bGlobal["$MissionRunning"])
     {
         client.activateGhosting();
     }
 }
 public void clientWantsGhostAlwaysRetry(GameConnection client)
 {
     if (bGlobal["$MissionRunning"])
         client.activateGhosting();
 }
        public virtual void serverCmdMissionStartPhase2Ack(GameConnection client, string seq, PlayerData playerDB)
        {
            // Make sure to ignore calls from a previous mission load
            if (seq != sGlobal["$missionSequence"] || !bGlobal["$MissionRunning"])
                return;
            if (client["currentPhase"].AsDouble() != 1.5)
                return;

            client["currentPhase"] = "2";
            // Set the player datablock choice

            client["playerDB"] = playerDB;

            // Update mod paths, this needs to get there before the objects.
            client.transmitPaths();

            // Start ghosting objects to the client
            client.activateGhosting();
        }