i got the trigger in the screenshot. What it should do is create a Zealot at every Gateway on the map under the control of the player who controls the gateway. Now i want the unit to spawn only when that players supply limit isn't reached. I made a condition which should do exactly that, but somehow it always returns true, no matter if the supply used is bigger than supply limit or not. Why is this?
Have no idea also. Have you tried Show text message these supplied used values to see if they was actually correct ? How about using new variables for supply used/max and increment it by 2 each time you created a zealot or make a pylon ?
Ahhh thank you very much, text messaging the supply values was the answer :) Supply limit is actually not the current limit, but the overall limit (i.e. 200). I have to use the supply made function to get the current supply limit. Now it works, thanks!
Hi,
i got the trigger in the screenshot. What it should do is create a Zealot at every Gateway on the map under the control of the player who controls the gateway. Now i want the unit to spawn only when that players supply limit isn't reached. I made a condition which should do exactly that, but somehow it always returns true, no matter if the supply used is bigger than supply limit or not. Why is this?
Greetz Error Ash
Have no idea also. Have you tried Show text message these supplied used values to see if they was actually correct ? How about using new variables for supply used/max and increment it by 2 each time you created a zealot or make a pylon ?
Ahhh thank you very much, text messaging the supply values was the answer :) Supply limit is actually not the current limit, but the overall limit (i.e. 200). I have to use the supply made function to get the current supply limit. Now it works, thanks!