- Joined
- Dec 6, 2007
- Messages
- 233
So i have this trigger
Other related triggers:
any ideas?
EDIT: yes, i did change the initial values of the hastable integer variables
-
ability fire
-

Events
-


Time - Every 0.05 seconds of game time
-
-

Conditions
-

Actions
-


Unit Group - Pick every unit in Flamethrower_Shooter_Group and do (Actions)
-



Loop - Actions
-




Set Temp_Loc = (Position of (Picked unit))
-




Set Temp_Real = (Facing of (Picked unit))
-




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





If - Conditions
-






(Load Flamethrower_Timer_Tick of (Key (Picked unit)) from Flamethrower_Hash) Greater than 36
-
-





Then - Actions
-






Hashtable - Save 0 as Flamethrower_Timer_Tick of (Key (Picked unit)) in Flamethrower_Hash
-






Unit Group - Remove (Picked unit) from Flamethrower_Shooter_Group
-
-





Else - Actions
-
-




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





If - Conditions
-






(Load Flamethrower_Timer_Tick of (Key (Picked unit)) from Flamethrower_Hash) Less than 18
-
-





Then - Actions
-






Set Temp_Real = (Temp_Real - 45.00)
-






Set Temp_Real = (Temp_Real + ((Real((Load Flamethrower_Timer_Tick of (Key (Picked unit)) from Flamethrower_Hash))) x 5.00))
-






Hashtable - Save ((Load Flamethrower_Timer_Tick of (Key (Picked unit)) from Flamethrower_Hash) + 1) as Flamethrower_Timer_Tick of (Key (Picked unit)) in Flamethrower_Hash
-
-





Else - Actions
-
-




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





If - Conditions
-






(Load Flamethrower_Timer_Tick of (Key (Picked unit)) from Flamethrower_Hash) Greater than or equal to 18
-






(Load Flamethrower_Timer_Tick of (Key (Picked unit)) from Flamethrower_Hash) Less than or equal to 36
-
-





Then - Actions
-






Set Temp_Real = (Temp_Real + 45.00)
-






Set Temp_Real = (Temp_Real - (((Real((Load Flamethrower_Timer_Tick of (Key (Picked unit)) from Flamethrower_Hash))) - 18.00) x 5.00))
-






Hashtable - Save ((Load Flamethrower_Timer_Tick of (Key (Picked unit)) from Flamethrower_Hash) + 1) as Flamethrower_Timer_Tick of (Key (Picked unit)) in Flamethrower_Hash
-
-





Else - Actions
-
-




Game - Display to (All players) the text: (String((Load Flamethrower_Timer_Tick of (Key (Picked unit)) from Flamethrower_Hash)))
-




Unit - Create 1 Dummy Fireball for (Owner of (Picked unit)) at Temp_Loc facing Temp_Real degrees
-




Unit - Set the custom value of (Last created unit) to (Level of Flamethrower for (Picked unit))
-




Unit Group - Add (Last created unit) to Flamethrower_Shell
-




Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-




Trigger - Turn on flame travel <gen>
-




Custom script: call RemoveLocation(udg_Temp_Loc)
-
-
-
-
Other related triggers:
-
ability set
-

Events
-


Unit - A unit Begins channeling an ability
-
-

Conditions
-


(Ability being cast) Equal to Flamethrower
-
-

Actions
-


Unit Group - Add (Triggering unit) to Flamethrower_Shooter_Group
-


Hashtable - Save 0 as Flamethrower_Timer_Tick of (Key (Triggering unit)) in Flamethrower_Hash
-
-
-
ability reset
-

Events
-


Unit - A unit Stops casting an ability
-
-

Conditions
-


(Ability being cast) Equal to Flamethrower
-
-

Actions
-


Unit Group - Remove (Triggering unit) from Flamethrower_Shooter_Group
-


Hashtable - Save 0 as Flamethrower_Timer_Tick of (Key (Triggering unit)) in Flamethrower_Hash
-
-
any ideas?
EDIT: yes, i did change the initial values of the hastable integer variables









