Agent.SetTargetPosition
also works.CustomBattleAgentStatCalculateModel.UpdateHumanStats
and SandboxAgentStatCalculateModel.UpdateHumanStats
to change the agentDrivenProperties
.agentDrivenProperties.AIAttackOnDecideChance = 0f;
agent.SetAgentFlags(agent.GetAgentFlags() & ~AgentFlag.CanAttack;
DefaultMapWeatherModel
instead of editing the flow map.ItemObject.Deserialize()
IMBAgent.SetAllAIBehaviorParams(UIntPtr agentPointer, HumanAIComponent.BehaviorValues[] behaviorParams)
which interacts with the unmanaged engine. <XmlNode>
<IncludedGameTypes>
<GameType value="CustomGame"/>
</IncludedGameTypes>
</XmlNode>