| 06-25-2004, 06:13 PM | #1 |
Im trying to make a trigger that supposed to err for instance a unit casts a spell a spell equals Command follow, then all allie´s within range of 400 of the caster is supposed to right click the Hero but when i made that spell the ally wasn´t the onlay one who started following my hero but the enemy too any help would me appreciated. I´ll even add good rep. |
| 06-25-2004, 06:17 PM | #2 | |
Quote:
|
| 06-25-2004, 06:28 PM | #3 |
ok a (events) unit begins casting an ability Condition ability equals command follow then i added and multiplay conditions (i don´t know excactly im supposed to have i tryed player comparasion but i came up empty) Then (Action) unit group - order units within range of 400 Hero to right click hero Wait 20 second then i order them to stop. |
| 06-25-2004, 07:24 PM | #4 |
The condition you want is this: ((one player) is an ally of (The other player)) Equal to True That strangly happens to be a boolean comparison, it seems wierd though. You probably want to do ((Owner of casting unit) is ally of (owner of unit being attacked by whatever)) equal to true. |
| 06-25-2004, 08:10 PM | #5 |
Thanks a lot man i gave you a rep im going too see if this works, if it doesn´t well i just gave you a rep for trying to help :D . |
| 06-26-2004, 05:09 PM | #6 | |
Quote:
Its not type according to editor, but i guess this roughly tells you wat i'm thinking. |
| 06-26-2004, 06:43 PM | #7 |
Thx but its working already. |
