Non Capturable command post?
Moderator: Moderators
-
- Private Recruit
- Posts: 17
- Joined: Mon Jun 25, 2018 4:47 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Non Capturable command post?
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.
-
- Gametoast Staff
- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Non Capturable command post?
I don't have a lua file on hand to look at, but the line would actually be:
Place it somewhere around:
In your _con.lua file.
Code: Select all
SetProperty("cp1", "CaptureRegion", "")
Code: Select all
objective: conquest
-
- Private Recruit
- Posts: 17
- Joined: Mon Jun 25, 2018 4:47 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Non Capturable command post?
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.
EDIT
So i figured out the solution and it works perfectly thanks a ton.