I'd think this might be enough, but apparently not
I believe created unit refers to units created by a specific trigger. Instead of Created Unit try "Triggering Unit". That should do the trick for sure. You can also use the same trigger as above to do the timer. Add to Actions a Timer trigger, then you can set it to add +however much time you want. (Create another trigger that creates the initial timer, based on whatever event you want like map initialization, then have the trigger above add to that timer.)
It still sits on the platform I'm afraid. I switch both the condition and action to triggering unit, and even tried adding a delay beforehand. No dice. :\
This should move the unit created from the barracks
Event:
Unit - Any Unit training is Completed
Action:
Unit - Move (Triggering progress unit) instantly to Point 001 (No Blend)
Ah, what variables can accomplish. I've gotten a lot done with one of the abilities now that I know about variables. I'm still having trouble with the 50 kill thing. I'll try to fix that last timer issue myself, but I could use a little help with the reward system.
EDIT: Hmm, the cannons someone takes control of don't seem to be powered, regardless that I also give them a nearby pylon. Is this due to the trigger or somehow because I made the cannons and pylons invulnerable?
EDIT2: Nevermind, just removed the cannons power requirement.
Regarding the 50 kill thing. I can't give you the exact code as I don't have the galaxy editor right here, but it should be something like this
Create a global variable named something like kills, make it an array with a depth equal to the number of players.
Create an event for a unit dying, and on the actions make is so that it adds +1 to the kills variable, with an index equal to the player who killed it. Then check to see if the variable is = 50, and if it is, reset it to 0 and give 1 mineral
I'll be checking them off as I go. Here are the things I would like help with:
More will be added as I progress.
I do have a lot that I need, and I find the editor very complex for my level. The SC1 and WC3 editor I had far less troubles with.
I'd think this might be enough, but apparently not
I believe created unit refers to units created by a specific trigger. Instead of Created Unit try "Triggering Unit". That should do the trick for sure. You can also use the same trigger as above to do the timer. Add to Actions a Timer trigger, then you can set it to add +however much time you want. (Create another trigger that creates the initial timer, based on whatever event you want like map initialization, then have the trigger above add to that timer.)
@Pinworm45: Go
It still sits on the platform I'm afraid. I switch both the condition and action to triggering unit, and even tried adding a delay beforehand. No dice. :\
Trying changing the event to "Training" rather than "Construction."
This should move the unit created from the barracks
Event:
Unit - Any Unit training is Completed
Action:
Unit - Move (Triggering progress unit) instantly to Point 001 (No Blend)
@TheRabidDeer: Go
Thanks, got it working. Now to my next thing. I'll post the trigger if I need help.
Ah, what variables can accomplish. I've gotten a lot done with one of the abilities now that I know about variables. I'm still having trouble with the 50 kill thing. I'll try to fix that last timer issue myself, but I could use a little help with the reward system.
EDIT: Hmm, the cannons someone takes control of don't seem to be powered, regardless that I also give them a nearby pylon. Is this due to the trigger or somehow because I made the cannons and pylons invulnerable?
EDIT2: Nevermind, just removed the cannons power requirement.
Regarding the 50 kill thing. I can't give you the exact code as I don't have the galaxy editor right here, but it should be something like this
Create a global variable named something like kills, make it an array with a depth equal to the number of players. Create an event for a unit dying, and on the actions make is so that it adds +1 to the kills variable, with an index equal to the player who killed it. Then check to see if the variable is = 50, and if it is, reset it to 0 and give 1 mineral
@Magnevv: Go
How would I check to see if the variable = 50?