Prevent humans and bots from capturing command posts [Solved
Moderator: Moderators
-
- Private Recruit
- Posts: 20
- Joined: Mon Sep 18, 2017 4:33 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Prevent humans and bots from capturing command posts [Solved
In the fake console, there is a button that disables command post-capture. Does anyone know the code to put in the .lua script for your map?
Last edited by DeathTrooperLeader on Sun Oct 08, 2017 8:59 pm, edited 1 time in total.
-
- Sith
- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: Prevent humans and bots from capturing command posts
It's AllowAISpawn(1, false)
1=team like 1,2, ATT, DEF, REP, CIS....
1=team like 1,2, ATT, DEF, REP, CIS....
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Prevent humans and bots from capturing command posts
This should work, just put it in ScriptPostLoad:
Resources:
http://www.secretsociety.com/forum/down ... meters.txt
Code: Select all
SetClassProperty("com_inf_default", "CapturePosts", "0")
http://www.secretsociety.com/forum/down ... meters.txt