Exemplo n.º 1
0
        public virtual void CommandFollow(ModuleWingCommander leader, int followerIndex)
        {
            if (!pilotEnabled)
            {
                return;
            }
            if (leader == vessel || followerIndex < 0)
            {
                return;
            }

            Debug.Log(vessel.vesselName + " was commanded to follow.");
            command            = PilotCommands.Follow;
            commandLeader      = leader;
            commandFollowIndex = followerIndex;
        }
Exemplo n.º 2
0
        public virtual void CommandFollow(ModuleWingCommander leader, int followerIndex)
        {
            if (!pilotEnabled)
            {
                return;
            }
            if (leader == vessel || followerIndex < 0)
            {
                return;
            }

            if (BDArmorySettings.DRAW_DEBUG_LABELS)
            {
                Debug.Log("[BDGenericAIBase]:" + vessel.vesselName + " was commanded to follow.");
            }
            command            = PilotCommands.Follow;
            commandLeader      = leader;
            commandFollowIndex = followerIndex;
        }