My map starts off with 14 ghosts - one for each player. What I want to happen is for my map to remove any ghosts of inactive players (so that if I start the game with 2 players I won't have an extra 12 ghosts standing around, doing nothing).
My triggers go like this:
This doesn't seem to work in game, and all of the units stay there (also, if there is an easier way to copy+paste triggers please tell me)
Could someone tell me what I did wrong?
Just out of curiosity (and for the purpose of learning), what exactly did I do wrong that made my method fail so horribly?
You didn't use the 'status of player' condition at all. If your going to do something like this you will prob want to use that. And player 0 = neutral.
You didn't use the 'status of player' condition at all. If your going to do something like this you will prob want to use that. And player 0 = neutral.
But that's just the thing. I tried re-doing MY trigger so it used the 'status of player' condition in the same way his did. It didn't work at all. It was only when I remade my trigger to be a 1 for 1 replica of his that it actually worked. Galaxy Editor confuses me :/
My map starts off with 14 ghosts - one for each player. What I want to happen is for my map to remove any ghosts of inactive players (so that if I start the game with 2 players I won't have an extra 12 ghosts standing around, doing nothing). My triggers go like this:
This doesn't seem to work in game, and all of the units stay there (also, if there is an easier way to copy+paste triggers please tell me) Could someone tell me what I did wrong?
@Liquos: Go
Try the following:
I've also attached a demo map:
Awesome, it worked perfectly! Thanks!
Just out of curiosity (and for the purpose of learning), what exactly did I do wrong that made my method fail so horribly?
You didn't use the 'status of player' condition at all. If your going to do something like this you will prob want to use that. And player 0 = neutral.
But that's just the thing. I tried re-doing MY trigger so it used the 'status of player' condition in the same way his did. It didn't work at all. It was only when I remade my trigger to be a 1 for 1 replica of his that it actually worked. Galaxy Editor confuses me :/
@Liquos: Go
The problem probably was that you were using unit 0 which causes errors in come commands