Ejemplo n.º 1
0
 public virtual MyObjectBuilder_Bot GetBotData()
 {
     MyObjectBuilder_AgentBot botData = new MyObjectBuilder_AgentBot(); // MW:TODO replace with proper object builders
     botData.BotDefId = BotDefinition.Id;
     botData.AiTarget = AgentActions.AiTarget.GetObjectBuilder();
     botData.BotMemory = m_botMemory.GetObjectBuilder();
     botData.LastBehaviorTree = BehaviorSubtypeName;
     return botData;
 }
Ejemplo n.º 2
0
 public virtual MyObjectBuilder_Bot GetBotData()
 {
     MyObjectBuilder_AgentBot botData = new MyObjectBuilder_AgentBot(); // MW:TODO replace with proper object builders
     botData.BotDefId = BotDefinition.Id;
     botData.AiTarget = AgentActions.AiTargetBase.GetObjectBuilder();
     botData.BotMemory = m_botMemory.GetObjectBuilder();
     botData.LastBehaviorTree = BehaviorSubtypeName;
     botData.RemoveAfterDeath = m_removeAfterDeath;
     botData.RespawnCounter = m_deathCountdownMs;
     return botData;
 }