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
< >
Showing 1-2 of 2 comments
Normand  [developer] 18 Nov, 2017 @ 6:04am 
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"
Last edited by Normand; 18 Nov, 2017 @ 6:05am
Imperator Nox 18 Nov, 2017 @ 7:40am 
Thanks, that worked!
< >
Showing 1-2 of 2 comments
Per page: 1530 50