This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
ok, So i have a female civilian on an island type thing and male civilian on mainland. the female is the chooser so to say here is what i have
EVENT :(female) enters region marine
ACTION: PLayer modify player 1 minerals subtract 10 Create 1 marine for player 1 at point of Civilian (male)
So when i do that and i have less than 10 minerals i get a free marine.../ why is this . thanks in advance!
You need to check if the player has enough minerals with an If statement. if player minerals > 10 then subtract 10 minerals create marine
how do you create if? its not in conditions?
did it.. used an AND condition.. but still how do you get an if then else condition or just if?
@CrazyTwigman: Go
If statements are found under the General category in Actions.
But for your situation an If would be more trouble than needed. Just put in a comparison Condition of "Player Property", with Minerals >= 10.
yeah its the if then else statement. you put your condition in the if part and your actions in the then part and well else doesn't really matter here
how you get if then else tho? i used and and it worked fine...
Quote from Telthalion:If statements are found under the General category in Actions.
Also including the trigger I mentioned above - doesn't need an If or an And.
ok, So i have a female civilian on an island type thing and male civilian on mainland. the female is the chooser so to say here is what i have
EVENT :(female) enters region marine
ACTION: PLayer modify player 1 minerals subtract 10 Create 1 marine for player 1 at point of Civilian (male)
So when i do that and i have less than 10 minerals i get a free marine.../ why is this . thanks in advance!
You need to check if the player has enough minerals with an If statement. if player minerals > 10 then subtract 10 minerals create marine
how do you create if? its not in conditions?
did it.. used an AND condition.. but still how do you get an if then else condition or just if?
@CrazyTwigman: Go
If statements are found under the General category in Actions.
But for your situation an If would be more trouble than needed. Just put in a comparison Condition of "Player Property", with Minerals >= 10.
yeah its the if then else statement. you put your condition in the if part and your actions in the then part and well else doesn't really matter here
how you get if then else tho? i used and and it worked fine...
@CrazyTwigman: Go
Also including the trigger I mentioned above - doesn't need an If or an And.