HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger Help plz

06-25-2004, 06:13 PM#1
Doc Frost
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
SirSalute
Quote:
Originally Posted by Doc Frost
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.
can you show us how is your trigger written? is the condition for only ally correct?
06-25-2004, 06:28 PM#3
Doc Frost
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
johnfn
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
Doc Frost
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
SirSalute
Quote:
Originally Posted by Doc Frost
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.
change the action before the wait to this unit group(pick all unit within range of 400 of hero and do multiple action) - if picked unit belongs to caster or allies of caster than right click hero
Its not type according to editor, but i guess this roughly tells you wat i'm thinking.
06-26-2004, 06:43 PM#7
Doc Frost
Thx but its working already.