I can't figure out how to make a requirement in the data editor on how to limit the amount of forges/engineering bays to 2. How do you create a requirement that does that?
Give it whatever name and ID you want and then open the requirement field.
1st line -> Add term -> Equals
2nd line -> CountUnit -> <Unit you want to limit> (Change the field under this to either "completed" or "queued or better")
3rd line -> Constant -> The max units of that type that you want.
Now, put this requirement onto your build ability info+ tag. To elaborate, if you want to limit marines from a barracks, then go to the Barracks - Train ability, hit Info+, select Marine, and under "Requirements", place the thing you just made. For buildings this should be in the builder's construction entry (whatever it is named, probably Build or Train). Don't bother adding requirements to command cards. They're visual only.
I can't figure out how to make a requirement in the data editor on how to limit the amount of forges/engineering bays to 2. How do you create a requirement that does that?
Go into Requirements and make a new element.
Give it whatever name and ID you want and then open the requirement field.
1st line -> Add term -> Equals
2nd line -> CountUnit -> <Unit you want to limit> (Change the field under this to either "completed" or "queued or better")
3rd line -> Constant -> The max units of that type that you want.
Now, put this requirement onto your build ability info+ tag. To elaborate, if you want to limit marines from a barracks, then go to the Barracks - Train ability, hit Info+, select Marine, and under "Requirements", place the thing you just made. For buildings this should be in the builder's construction entry (whatever it is named, probably Build or Train). Don't bother adding requirements to command cards. They're visual only.
@s3rius: Go
I made the requirement and added the requirement to the build forge ability, but it shows that you need 2 forges in order to build a forge.
He means "Less Than", not "Constant".