Page 1 of 1

Removal of ai? [Solved]

Posted: Fri Apr 06, 2012 12:04 pm
by brant777
The map i am making is for multiplayer player purposes and therefore i do not want ai in my map. Is there anyway other than changing the settings in bf2 to make ai count to 0 or using fakeconsole to remove ai?

Re: removal of ai

Posted: Fri Apr 06, 2012 12:24 pm
by fasty
Add this to your lua file:

Code: Select all

AllowAISpawn(IMP, false)
AllowAISpawn(ALL, false)
Remember to change the teams to match whatever teams you have.

Re: removal of ai

Posted: Fri Apr 06, 2012 3:19 pm
by brant777
thank you, your awesome. that seemed to have done the trick :thumbs: