Removal of ai? [Solved]
Moderator: Moderators
- brant777
- Private Third Class
- Posts: 52
- Joined: Thu Mar 22, 2012 9:05 pm
- Projects :: No Mod project currently.
- xbox live or psn: Why? PS3 is better
- Location: pennsylvania
- Contact:
Removal of ai? [Solved]
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?
-
fasty
- 1st Lieutenant

- Posts: 438
- Joined: Thu Apr 15, 2010 4:17 am
- Projects :: Server modding
- Contact:
Re: removal of ai
Add this to your lua file:
Remember to change the teams to match whatever teams you have.
Code: Select all
AllowAISpawn(IMP, false)
AllowAISpawn(ALL, false)
- brant777
- Private Third Class
- Posts: 52
- Joined: Thu Mar 22, 2012 9:05 pm
- Projects :: No Mod project currently.
- xbox live or psn: Why? PS3 is better
- Location: pennsylvania
- Contact:
Re: removal of ai
thank you, your awesome. that seemed to have done the trick 
