CP count to unlock units help

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

CP count to unlock units help

Post by lucasfart »

I was wondering how i could use the amount of cp's owned by your team, to unlock units and if you don't, make the units cost too much to possibly achieve. This is the same as the yavin : Arroyo Pass map if you're wondering what i mean........would someone be able to help me with the exact coding i would need to add in my lua??? i know i can use SetProperty("Unit_name_here", PointsToUnlock, 1000) to set the pointstounlock but how would i change the other parts?
Coley
Sergeant Major
Sergeant Major
Posts: 249
Joined: Sun Aug 09, 2009 11:27 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Re: CP count to unlock units help

Post by Coley »

No answer on "the other parts", but you can change the "points to unlock" in your units odf, too.
Post Reply