- Joined
- Jul 14, 2011
- Messages
- 3,213
Hi!
This trigger is part of a quest where the Hero has to collect some Dust spread around an island using 'Explore' ability, but I need it to work for all available players independently, and require the hero to pick a different dust each time.
This trigger is part of a quest where the Hero has to collect some Dust spread around an island using 'Explore' ability, but I need it to work for all available players independently, and require the hero to pick a different dust each time.
-
Quest2DustFind
-

Events
-


Unit - A unit Begins casting an ability
-
-

Conditions
-


((Triggering unit) is A Hero) Equal to True
-


(Ability being cast) Equal to Explore
-


DustCollected Less than or equal to 20
-
-

Actions
-


Set Temp_Point = Position of (Triggering Unit)
-


Destructible - Pick every destructible within 100.00 of Temp_Point and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Destructible-type of (Picked destructible)) Equal to Removable Dust
-
-





Then - Actions
-






Set DustCollected = (DustCollected + 1)
-
-





Else - Actions
-
-
-
-


Custom script: call RemoveLocation(udg_Temp_Point)
-
-
