- Joined
- Jul 14, 2011
- Messages
- 3,213
More details? You have potions ids, variables, triggers, codes...
This is the only use I give to udg_Hash besides your system.
This is the only use I give to udg_Hash besides your system.
-
DustFind
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- ((Triggering unit) is A Hero) Equal to True
- (Ability being cast) Equal to Explore
- LifeDustCount[(Player number of (Owner of (Triggering unit)))] Less than or equal to 21
- AmosPrince[(Player number of (Owner of (Triggering unit)))] Equal to 1
-
Actions
- Set PNOBU = (Player number of (Owner of (Triggering unit)))
- Set Point = (Position of (Triggering unit))
- Custom script: set udg_Id = GetHandleId (GetTriggerUnit())
-
Destructible - Pick every destructible within 120.00 of 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
- Custom script: set udg_DesType = GetHandleId (GetEnumDestructable())
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (DesType is stored as a Integer of Id in Hash) Equal to False
-
Then - Actions
- Hashtable - Save DesType as DesType of Id in Hash
- Set LifeDustCount[PNOBU] = (LifeDustCount[PNOBU] + 1)
- Game - Display to (All players matching ((Owner of (Triggering unit)) Equal to (Matching player))) the text: (Life Dust collected: |cffffcc00 + ((String(LifeDustCount[PNOBU])) + |r.))
-
Else - Actions
- Game - Display to (All players matching ((Owner of (Triggering unit)) Equal to (Matching player))) the text: |cffff0000You have ...
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- LifeDustCount[PNOBU] Equal to 22
-
Then - Actions
- Game - Display to (All players matching ((Owner of (Triggering unit)) Equal to (Matching player))) the text: Main Quest Updated!
- Quest - Mark QuestReq[31] as Completed
- Quest - Flash the quest dialog button
- Else - Actions
-
If - Conditions
- Custom script: call RemoveLocation(udg_Point)
-
Events