Page 1 of 1

Non Capturable command post?

Posted: Tue Jan 22, 2019 10:55 pm
by FiftyAuto
So I want a command post that you can spawn from and change class but not capture, I read that SetProperty("cpname", "cpregion", "") in my case SetProperty("cp1", "cp1_capture", "") supposedly disables the capture function of command posts but I have yet to implement this with any means of succses its not clear which lua file im suppost to place this line of code in or where. im assuming this is super easy to do but im having trouble if anyone can help that would be greatly appreciated.

Re: Non Capturable command post?

Posted: Tue Jan 22, 2019 11:01 pm
by AQT
I don't have a lua file on hand to look at, but the line would actually be:

Code: Select all

SetProperty("cp1", "CaptureRegion", "")
Place it somewhere around:

Code: Select all

objective: conquest
In your _con.lua file.

Re: Non Capturable command post?

Posted: Tue Jan 22, 2019 11:46 pm
by FiftyAuto
Alright so this did allow units to spawn and change classes in the inteneded location but the cp capture is now just in some random spot near one of my vehicles spawns which is pretty wierd ill see if im doing something wrong but thanks for helping and being patent with me.


EDIT
So i figured out the solution and it works perfectly thanks a ton.