HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit still picked

06-15-2006, 03:19 AM#1
Hemlock
Somehow the unit is still picked, while I have this

Trigger:
Unit Group - Pick every unit in (Units within 600.00 of (Position of Ability_unit_TD) matching ((Owner of picked unit) Not equal to (Owner of Ability_unit_TD))) and do (Actions)
Collapse Loop - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Distance between (Position of Ability_unit_TD) and (Position of (Picked unit))) Less than or equal to 500.00
Collapse Then - Actions
Unit - Set (Picked unit) movement speed to 50.00
Collapse Else - Actions
Unit - Set (Picked unit) movement speed to (Default movement speed of (Picked unit))

what I want to create, is that everybody around the unit gets slowed down within (obviously) 500 range to a (50) movement speed (which works) but the unit casting the spell (Ability_unit_TD) gets slowed down as well.

any idea's or is there anything that I overlooked?
06-15-2006, 03:53 AM#2
Rising_Dusk
Check the value of that global Ability_unit_TD.
If the caster gets slowed, then there is an error in that global.
06-15-2006, 04:26 AM#3
harshateja
This:
Trigger:
Unit Group - Pick every unit in (Units within 600.00 of (Position of Ability_unit_TD) matching ((Owner of picked unit) Not equal to (Owner of Ability_unit_TD))) and do (Actions)
Needs to be:
Trigger:
Unit Group - Pick every unit in (Units within 600.00 of (Position of Ability_unit_TD) matching ((Owner of matching unit) Not equal to (Owner of Ability_unit_TD))) and do (Actions)