Ejemplo n.º 1
0
        public static bool UpdateSmallShipBotScript(MySmallShipBot smallShipBot)
        {

            // Make all small ship enemy bots fly towards Russian Outpost
            if (m_remainingPrimaryTargetsCounter == 0)
            {
				//TODO: not working with new bot version
                //smallShipBot.Decision.TargetPosition = RUSSIAN_DROP_ZONE_POSITION;
                //smallShipBot.SetBehavior<MyBotBehaviorFollow>();
            }

            return true;
        }
Ejemplo n.º 2
0
 public MyWaypointMemory(MySmallShipBot m_bot)
 {
     m_WayIndex = 0;
     m_checkDistance = 1;
     m_IndexDirection = 1;
     m_GuardType = MyBotGuardTypeEnum.OneWay;
     m_WaypointList = new List<Vector3>(m_bot.m_waypointMemorySize){m_bot.GetPosition()};
 }
Ejemplo n.º 3
0
 protected void RemoveFollower(MySmallShipBot follower)
 {
     m_followers.Remove(follower);
 }
Ejemplo n.º 4
0
 protected void AddFollower(MySmallShipBot follower)
 {
     if (m_followers.Contains(follower))
         return;
     m_followers.Add(follower);
 }