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; }
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()}; }
protected void RemoveFollower(MySmallShipBot follower) { m_followers.Remove(follower); }
protected void AddFollower(MySmallShipBot follower) { if (m_followers.Contains(follower)) return; m_followers.Add(follower); }