Bots gathering in map center [Solved]
Posted: Thu Mar 25, 2021 11:49 pm
I'm making a mission that's similar to elimination but I'm basing it off of conquest. I removed all the cp capture zones, and whenever the AI doesn't see anyone to kill they just gather at the center of the map. I've tried putting this after "conquest:Start":
AddAIGoal(1,"Deathmatch",100)
AddAIGoal(2,"Deathmatch",100)
and also this:
self.AIGoals = {}
if self.AIGoalWeight > 0.0 then
table.insert(self.AIGoals, AddAIGoal(self.teamATT, "Deathmatch", 100*self.AIGoalWeight))
table.insert(self.AIGoals, AddAIGoal(self.teamDEF, "Deathmatch", 100*self.AIGoalWeight))
end
but they don't seem to do anything. How can I get them to wander, or really just do anything that doesn't look stupid?
AddAIGoal(1,"Deathmatch",100)
AddAIGoal(2,"Deathmatch",100)
and also this:
self.AIGoals = {}
if self.AIGoalWeight > 0.0 then
table.insert(self.AIGoals, AddAIGoal(self.teamATT, "Deathmatch", 100*self.AIGoalWeight))
table.insert(self.AIGoals, AddAIGoal(self.teamDEF, "Deathmatch", 100*self.AIGoalWeight))
end
but they don't seem to do anything. How can I get them to wander, or really just do anything that doesn't look stupid?