on a current map i am making, i have teams, and when a team holds a certain area, they get units
the current trigger is like this:
Team Roseblood brings at least 1 men to location X
Foes bring 0 men to location x
Player 8 brings 0 men to location x
create 4 melee troops at location x spawn for Team Roseblood
create 2 ranged unit at location x spawn for Team Roseblood
the problem is it makes 8 melee and 2 ranged for each player of Team Roseblood, so i am wondering, should i change the trigger to current player insted of Team Roseblood?
well if you set it for current player, for every player on Roseblood, that goes there, they get 4 melee and 2 ranged.
exemple: if the team is composed of player 1 and player 2.
| Trigger |
| Players: |
| ¤ remplace team by player 1 and player 2 |
| Conditions: |
| ¤ same condition |
| Actions: |
| ¤ same action |
Both Current Player and Team Roseblood will result in the same thing: try it.
However, if your condition is "CURRENT player", the trigger will only create units for ONE player.
Therefore, stick with Team Roseblood.
i ment like this folks, i think you are all confused, so here:
Player: Team Roseblood
Condtions: Same Condtions
Actions: Create 4 melee and 2 ranged for Current Player
can you attach a copy of the map so i can take a look at what you are trying to do?
We aren't confused.
Using Current Player and Team Roseblood inside your Action will do the same thing so long as the Player section is Team Roseblood.
If you have a force selected, it will run the trigger for every player in that force. So if there are two people in the game in that force, it will run twice. Hence you get more units then you wanted.
the create trigger makes that many units times the amount of people the trigger is working for. so if u have a force as a player, and that force has like 3 ppl then it multiplies the amount of units created (lets say 4) by the number of players in that force ,3 players (12 uints).
ADDITION:
| Trigger |
| Description: |
| To many units for create trigger |
|
| Players: |
| ¤ Team Roseblood (3 players) |
| Conditions: |
¤ Team Roseblood brings atleast 1 men to x
|
¤ enemies bring exactly 0 to x
|
| ¤ player 8 brings exactly 0 to x |
| Actions: |
¤ create 4 melee at x
|
| ¤ create 2 range at x |
That means that u will create 12 melee, and 6 ranged for each person on team roseblood but if u do this:
| Trigger |
| Description: |
| Right amount of units |
|
| Players: |
¤ Player 1
|
¤ Player 2
|
| ¤ Player 3 |
| Conditions: |
¤ Current player brings atleast 1 men to x
|
¤ enemies bring exactly 0 to x
|
| ¤ player 8 brings exactly 0 men to x |
| Actions: |
¤ creates 4 melee at x for current player
|
| ¤ creates 2 range at x for current player |
then you will get the right amount of people for those players
Ryan, just stick with the trigger you had at the VERY beginning of this thread. Try it if you don't believe me.
Zergling put it into terms i could understand, thank you very much zergling, it is working fine now