Unit - Move ([COLOR="Red"]Picked unit[/COLOR]) instantly to (Position of ([COLOR="Red"]Picked unit[/COLOR])), facing (Position of ([COLOR="Red"]Picked unit[/COLOR]))
Code:Unit - Move ([COLOR="Red"]Picked unit[/COLOR]) instantly to (Position of ([COLOR="Red"]Picked unit[/COLOR])), facing (Position of ([COLOR="Red"]Picked unit[/COLOR]))
That is correct????
Are you ordering a unit moves instantly to his own position facing himself? :nuts:
Actions
Set groupe = (Units within 300.00 of (Position of (Triggering unit)))
Group unit - Pick every unit in groupe and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Picked unit) not equal to Paladin 0000 <gen>
Then - Actions
special effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\NightElf\EntanglingRoots\EntanglingRootsTarget.mdl
Set aa = (Last created special effect)
Then - Actions
Do nothing
Wait 2.00 seconds
Group unit - Pick every unit in groupe and do (Actions)
Loop - Actions
special effect - Destroy aa
Unit - Move (Picked unit) instantly to (Position of (Picked unit)), facing (Position of (Picked unit))
Code:Actions Set groupe = (Units within 300.00 of (Position of (Triggering unit))) Group unit - Pick every unit in groupe and do (Actions) Loop - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Picked unit) not equal to Paladin 0000 <gen> Then - Actions special effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\NightElf\EntanglingRoots\EntanglingRootsTarget.mdl [COLOR="Red"]Set aa = (Last created special effect)[/COLOR] Then - Actions Do nothing Wait 2.00 seconds Group unit - Pick every unit in groupe and do (Actions) Loop - Actions [COLOR="Red"]special effect - Destroy aa[/COLOR] Unit - Move (Picked unit) instantly to (Position of (Picked unit)), facing (Position of (Picked unit))
Actions
Set groupe = (Units within 300.00 of (Position of (Triggering unit)))
Group unit - Pick every unit in groupe and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Picked unit) not equal to Paladin 0000 <gen>
Then - Actions
special effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\NightElf\EntanglingRoots\EntanglingRootsTarget.mdl
[COLOR="Green"] Set aa_number=aa_number+1
Set aa[aa_number]= (Last created special effect)[/COLOR]
Then - Actions
Do nothing
Wait 2.00 seconds
Group unit - Pick every unit in groupe and do (Actions)
Loop - Actions
[COLOR="Green"]For each integer A from 1 to [aa_number] do actions
special effect - Destroy aa[integer A][/COLOR]
Unit - Move (Picked unit) instantly to (Position of (Picked unit)), facing (Position of (Picked unit))
[COLOR="Green"] Set aa_number=0[/COLOR]