Page 1 of 1

Prevent humans and bots from capturing command posts [Solved

Posted: Sun Oct 08, 2017 1:32 pm
by DeathTrooperLeader
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?

Re: Prevent humans and bots from capturing command posts

Posted: Sun Oct 08, 2017 3:28 pm
by thelegend
It's AllowAISpawn(1, false)
1=team like 1,2, ATT, DEF, REP, CIS....

Re: Prevent humans and bots from capturing command posts

Posted: Sun Oct 08, 2017 3:34 pm
by Marth8880
This should work, just put it in ScriptPostLoad:

Code: Select all

SetClassProperty("com_inf_default", "CapturePosts", "0")
Resources:
http://www.secretsociety.com/forum/down ... meters.txt