- Joined
- Aug 8, 2010
- Messages
- 1,022
Hi! I have tried to make my timer that shows above my hero how much time lefts till my spell is casted. I have worked on the trigger but nothing happens in game. I know - many people give me triggers and test maps, but i want to practice, so can make triggers my own. Here are my triggs :
please help! +rep for help !!!
-
DF Init
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Hashtable - Create a hashtable
-
Set TheHashTable = (Last created hashtable)
-
-
-
VariableSetTrigDF
-
Events
-
Unit - A unit Begins channeling an ability
-
-
Conditions
-
(Ability being cast) Equal to Deep Freeze (trig test)
-
-
Actions
-
Hashtable - Save Handle Of(Triggering unit) as 0 of (Key (Triggering unit)) in TheHashTable
-
Unit Group - Add (Load 0 of (Key (Triggering unit)) in TheHashTable) to DFUnitGroup
-
Hashtable - Save Handle Of((Load 0 of (Key (Triggering unit)) in TheHashTable) offset by 110.00 towards 180.00 degrees) as 1 of (Key (Triggering unit)) in TheHashTable
-
Hashtable - Save 1.50 as 2 of (Key (Triggering unit)) in TheHashTable
-
Trigger - Run WhileCastingDF <gen> (checking conditions)
-
-
-
WhileCastingDF
-
Events
-
Time - Every 0.10 seconds of game time
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in DFUnitGroup and do (Actions)
-
Loop - Actions
-
Hashtable - Save ((Load 2 of (Key (Picked unit)) from TheHashTable) - 0.10) as 3 of (Key (Picked unit)) in TheHashTable
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Load 3 of (Key (Picked unit)) from TheHashTable) Greater than 0.00
-
-
Then - Actions
-
Floating Text - Create floating text that reads (Deep Freeze in + ((Load 3 of (Key (Picked unit)) from TheHashTable) + sec.)) at (Load 1 of (Key (Picked unit)) in TheHashTable) with Z offset 240.00, using font size 9.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
-
Hashtable - Save Handle Of(Last created floating text) as 4 of (Key (Picked unit)) in TheHashTable
-
Floating Text - Change text of (Load 4 of (Key (Picked unit)) in TheHashTableIf the label is not found, this function returns NULL.) to (Load 3 of (Key (Picked unit)) from TheHashTable) using font size 9.00
-
Floating Text - Change (Load 4 of (Key (Picked unit)) in TheHashTableIf the label is not found, this function returns NULL.): Disable permanence
-
Floating Text - Change the lifespan of (Load 4 of (Key (Picked unit)) in TheHashTableIf the label is not found, this function returns NULL.) to 0.25 seconds
-
Floating Text - Change the age of (Load 4 of (Key (Picked unit)) in TheHashTableIf the label is not found, this function returns NULL.) to 0.12 seconds
-
-
Else - Actions
-
-
-
-
-