I can't seem to make my trigger unhide hidden units within 300 range of a cast point, it's like the function is broken.
Help me fix this please. The rest of the trigger works flawlessly except for the unhide function FYI.
Help me fix this please. The rest of the trigger works flawlessly except for the unhide function FYI.
-
Geologist Flag Summon
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Geologist Flag
-
Actions
- Set Point = (Target point of ability being cast)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Terrain pathing at Point of type Walkability is off) Equal to False
-
Then - Actions
- Unit - Create 1 Geologist Flag for (Owner of (Casting unit)) at Point facing Default building facing degrees
-
Unit Group - Pick every unit in (Units within 300.00 of Point) and do (Actions)
-
Loop - Actions
- Unit - Unhide (Picked unit)
-
Loop - Actions
- Else - Actions
-
If - Conditions
- Custom script: call RemoveLocation(udg_Point)
-
Events