Hi, i want to do a simple "dont move the zergling", but my trigger wont work. it looks like this:
So the problem is that the untis i select (in this case lots of ultralisks) dont hold position but attack and so does the single zergling for player 1.
thank you in anticipation
Player 2's ultralisks are next to Player 1's zergling(s)
You want the ultralisks to kill the zergling(s) if it moves
Solution
The way I see it, you are issuing the hold position command to Player 2's ultralisks at the initialization. However, Player 2's ai overrides this and uses his/her many ultralisks to take advantage of the lone zergling. Perhaps you should do ally/unally instead of hold position for Player 2.
indeed, this works.
but actually this is not the way id like to solve it :/
the error is when i order them to hold position, because when i order them just to move to the zergling as ally, they also do nothing :S
but the selection works, when i start i have my zergling selected
I mean you should set Player 1 as Enemy to Player 2 when Player 1 moves. This way, Player 2 will not attack until Player 1 moves, at which point he will become the "enemy".
You can't have an event that runs on Triggering Unit.
Make it so it runs on any unit, and the condition is that its the zergling.
Or just lose the ultras and make it:
Event: Unit Zergling is issued order to Move
Condition: Owner of Triggering Unit == 2
Action: Kill Triggering Unit
ah yea thats also a mistake >.<
but anyway, i got the mistake, i dont have to select the unitsw first and then issue the selected units to hold position, instead i can do it like this:
Unit - Order all units in (Any units in (Entire map) owned by player 2 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) to ( Attack Zergling [27.75, 19.35]) (Replace Existing Orders)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi, i want to do a simple "dont move the zergling", but my trigger wont work. it looks like this:
So the problem is that the untis i select (in this case lots of ultralisks) dont hold position but attack and so does the single zergling for player 1. thank you in anticipation
My assumptions:
Solution The way I see it, you are issuing the hold position command to Player 2's ultralisks at the initialization. However, Player 2's ai overrides this and uses his/her many ultralisks to take advantage of the lone zergling. Perhaps you should do ally/unally instead of hold position for Player 2.
See if this works.
indeed, this works. but actually this is not the way id like to solve it :/ the error is when i order them to hold position, because when i order them just to move to the zergling as ally, they also do nothing :S but the selection works, when i start i have my zergling selected
I mean you should set Player 1 as Enemy to Player 2 when Player 1 moves. This way, Player 2 will not attack until Player 1 moves, at which point he will become the "enemy".
thats what i did and it works as i said :) but this is not the way id like to do it :S
You can't have an event that runs on Triggering Unit.
Make it so it runs on any unit, and the condition is that its the zergling.
Or just lose the ultras and make it:
Event: Unit Zergling is issued order to Move
Condition: Owner of Triggering Unit == 2
Action: Kill Triggering Unit
ah yea thats also a mistake >.< but anyway, i got the mistake, i dont have to select the unitsw first and then issue the selected units to hold position, instead i can do it like this: Unit - Order all units in (Any units in (Entire map) owned by player 2 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) to ( Attack Zergling [27.75, 19.35]) (Replace Existing Orders)