All triggers run for each player present in the game: first all run for P1, then for P2 and so on. So when the first player controls the Warbringer the location Reaver still centers at Warbringer for Player 2, 3 and others, and as far as there is no Warbringer for that players on the map it is centered in the middle of the map. So, when it goes to the Player's 7 triggers the location Reaver is most likely in the middle of nowhere.
Also, take a note that two players can have Most Kills at the same time (when they have exact number of most kills) and that Most Kills condition will be true every trigger cycle for each player who has the most kills.
Understand?
Some.
so i add most kills in the first trigger and hope they never have same amount of kills ?
ah ok i just center when the player controls the warbringer and i choose something else for most kills.
What ?
None.
so i add most kills in the first trigger and hope they never have same amount of kills ?
You'd better make it work when they have. Because... for example at start, all have 0 kills.
Some.
ok im pretty sure i can figure something out now...
thx a lot.
None.
Probably it is a good idea to retain an old owner untill only one player have the most kills.
Anyways, make the first trigger like this:
TRIGGER
Owners: P1, P2, P3, P4, P5, P6
Conditions:
Current player commands at least 1 Warbringer.
Actions:
Move location Reaver on Warbringer owned by current player at Anywhere.
Preserve trigger.
If you want the reaver to change the owner sometimes I would have made it like this:
TRIGGER
Owners: P1, P2, P3, P4, P5, P6
Conditions:
Always.
Actions:
Clear switch sMostKills.
Preserve trigger.
TRIGGER
Owners: P1, P2, P3, P4, P5, P6
Conditions:
Current player has most kills of men.
Actions:
Set switch sMostKills.
Preserve trigger.
TRIGGER
Owners: P1, P2, P3, P4, P5, P6
Conditions:
Switch sMostKills is Cleared. // Current player is not a leader anymore
Current player commands at least 1 Warbringer.
Actions:
Give all Warbringer owned by current player at Reaver to player 12.
Preserve trigger.
TRIGGER
Owners: P1, P2, P3, P4, P5, P6
Conditions:
Switch sMostKills is Set. // Current player is a leader
Player 12 commands at least 1 Warbringer. // And Warbringer belongs to noone
Actions:
Give all Warbringer owned by player 12 at Reaver to current player.
Preserve trigger.
TRIGGER
Owners: P1, P2, P3, P4, P5, P6
Conditions:
// Better dont use this condition there, and don't ask why, that is wired! Use the next one:
Current player commands at least 1 Warbringer.
Current player brings at least 1 Warbringer to Anywhere.
Actions:
Move location Reaver on Warbringer owned by current player at Anywhere.
Preserve trigger.
// And that trigger which gives units on Reaver or whatever...
Post has been edited 4 time(s), last time on May 17 2009, 9:47 pm by Wormer.
Some.