Page 1 of 1

How can I put points to unlock only in Conquest?

Posted: Wed Aug 29, 2018 3:15 pm
by DaviidHL
How can I put points to unlock in classes in conquest mode but remove them in hunt?

Re: How can I put points to unlock only in Conquest?

Posted: Wed Aug 29, 2018 4:08 pm
by ARCTroopaNate
You can use setclassproperty in your scriptpostload section of you lua script like so.


SetClassProperty("all_inf_custom", "PointsToUnlock", "12")

Re: How can I put points to unlock only in Conquest?

Posted: Wed Aug 29, 2018 7:47 pm
by Calrissian97
What Nate said, but you might have to use it *after* you have already loaded the class from your side lvl. Otherwise you'll be referencing a unit that doesn't exist yet. But I'd only do that if what Nate suggested doesn't work because sometimes that stuff seems to matter, sometimes it doesn't.

Re: How can I put points to unlock only in Conquest?

Posted: Wed Aug 29, 2018 7:48 pm
by ARCTroopaNate
Hasn't ever mattered for me, I use Setclassproperty a fair bit but who knows.