If i have the syntax wrong, fine. Thats an easy fix.
however. This is what i need to do:
Event (Pseudo or actual)
Unit 1 gets within X of Unit 2.
Make sure Unit 1 is a siege tank, and make sure owning player has researched siege tech.
Make sure owner of Unit 1 and owner of Unit 2 are enemy's.
order tank to enter siege mode.
I'm more than open to any ideas of how to accomplish this using auras, behaviors etc. It just seems silly that the event doesnt let you return both units somehow.
My problem, is how do i do a check to see if the unit that entered within 14 of the triggering unit is an enemy? There no function to return it :(
Ive searched but all the workarounds I've found deal with targeted ability which the workaround is to use autocasting, which of course will not work here unless im missing something major.
I know this wont work for every application of this type of thing, but if you are solidifying teams into attack vs defense, I assume the maps also help determine this?
Player = (Owner of (Closest unit to AttackersPoint in (Any units in (Entire map) owned by player Any Player matching No Unit Filter, with at most Any Amount))) <Integer>
This would provide a player that is on the attacking team, you just have to label the start positions with points.
0
@Skoite: Go
If i have the syntax wrong, fine. Thats an easy fix.
however. This is what i need to do:
Event (Pseudo or actual) Unit 1 gets within X of Unit 2.
Make sure Unit 1 is a siege tank, and make sure owning player has researched siege tech. Make sure owner of Unit 1 and owner of Unit 2 are enemy's. order tank to enter siege mode.
I'm more than open to any ideas of how to accomplish this using auras, behaviors etc. It just seems silly that the event doesnt let you return both units somehow.
0
Im trying to come up with a trigger that will make a siege tank enter siege mode when an enemy ground unit enters within 14. Ive got this so far;
My problem, is how do i do a check to see if the unit that entered within 14 of the triggering unit is an enemy? There no function to return it :(
Ive searched but all the workarounds I've found deal with targeted ability which the workaround is to use autocasting, which of course will not work here unless im missing something major.
0
I know this wont work for every application of this type of thing, but if you are solidifying teams into attack vs defense, I assume the maps also help determine this?
Player = (Owner of (Closest unit to AttackersPoint in (Any units in (Entire map) owned by player Any Player matching No Unit Filter, with at most Any Amount))) <Integer>
This would provide a player that is on the attacking team, you just have to label the start positions with points.