Men of War: Assault Squad 2

Men of War: Assault Squad 2

#valour (# v a l o u r)
How to make combat missions where the AI works?
Hey

I was wondering if anyone could help me making new combat missions where the AI works. There are some maps where I want to play with Valour mod so I add the spawn points, but the AI doesn't do anything but sit there. So I was wondering how to get them to move.

If anyone could help, that'd be great. Sorry if it's a stupid question, though
< >
12/2 megjegyzés mutatása
Normand  [Fejlesztő] 2017. nov. 18., 6:04 
Add flags on the map )

'bot.lua' file:

"function CaptureFlag(squad)
local flag = GetFlagToCapture(BotApi.Scene.Flags, GetFlagPriority)
if flag then
BotApi.Commands:CaptureFlag(squad, flag.name)
end
end"
Legutóbb szerkesztette: Normand; 2017. nov. 18., 6:05
Thanks, that worked!
< >
12/2 megjegyzés mutatása
Laponként: 1530 50