Ok... i didnt get your trigger at all... so i created my own.
Here they are:
What do you think... i havent tested yet, but do you think it will work?
Here they are:
Code:
HE Grenade
Events
Unit - Rifleman 0009 <gen> Begins casting an ability
Conditions
And - All (Conditions) are true
Conditions
Integer_EquipedGrenade Equal to 1
(Ability being cast) Equal to Throw Grenade
Actions
Set Integer_GrenadeNumber2 = (Integer_GrenadeNumber2 + 1)
If (Integer_GrenadeNumber2 Equal to 1) then do (Trigger - Turn on Throwing Grenades <gen>) else do (Unit - Create 1 Mortar Team for Player 1 (Red) at (Position of Rifleman 0009 <gen>) facing (Facing of Rifleman 0009 <gen>) degrees)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer_GrenadeNumber2 Equal to 2
Then - Actions
Trigger - Turn off Throwing Grenades <gen>
Advanced - Take (Last created multiboard) and set the fill state for the progress bar in row 6 to 0.00 percent
Set Integer_GrenadeNumber2 = 0
Unit Group - Pick every unit in (Units in (Playable map area)((Unit-type of (Picked unit)) Equal to Mortar Team)) and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Attack Ground ((Position of Rifleman 0009 <gen>) offset by ((Real(Integer_GrenadeNumber)) x 100.00) towards (Facing of Rifleman 0009 <gen>) degrees)
Wait (Real(Integer_GrenadeNumber)) seconds
Unit - Remove (Picked unit) from the game
Else - Actions
Unit Group - Pick every unit in (Units within 250.00 of ((Position of Rifleman 0009 <gen>) offset by ((Real(Integer_GrenadeNumber)) x 100.00) towards (Facing of Rifleman 0009 <gen>) degrees)) and do (Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 75.00))
Set Integer_GrenadeNumber = 0
Stun Grenade
Events
Unit - Rifleman 0009 <gen> Begins casting an ability
Conditions
And - All (Conditions) are true
Conditions
Integer_EquipedGrenade Equal to 2
(Ability being cast) Equal to Throw Grenade
Actions
Set Integer_GrenadeNumber2 = (Integer_GrenadeNumber2 + 1)
If (Integer_GrenadeNumber2 Equal to 1) then do (Trigger - Turn on Throwing Grenades <gen>) else do (Unit - Create 1 Mortar Team for Player 1 (Red) at (Position of Rifleman 0009 <gen>) facing (Facing of Rifleman 0009 <gen>) degrees)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer_GrenadeNumber2 Equal to 2
Then - Actions
Trigger - Turn off Throwing Grenades <gen>
Advanced - Take (Last created multiboard) and set the fill state for the progress bar in row 6 to 0.00 percent
Set Integer_GrenadeNumber2 = 0
Unit Group - Pick every unit in (Units in (Playable map area)((Unit-type of (Picked unit)) Equal to Mortar Team)) and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Attack Ground ((Position of Rifleman 0009 <gen>) offset by ((Real(Integer_GrenadeNumber)) x 100.00) towards (Facing of Rifleman 0009 <gen>) degrees)
Wait (Real(Integer_GrenadeNumber)) seconds
Unit - Remove (Picked unit) from the game
Else - Actions
Unit - Create 1 Tauren for Player 1 (Red) at ((Position of Rifleman 0009 <gen>) offset by ((Real(Integer_GrenadeNumber)) x 100.00) towards (Facing of Rifleman 0009 <gen>) degrees) facing Default building facing (270.0) degrees
Hero - Modify unspent skill points of (Last created unit): Add 1 points
Hero - Learn skill for (Last created unit): Orc Tauren Chieftain - War Stomp
Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
Unit - Remove (Last created unit) from the game
Set Integer_GrenadeNumber = 0
Throwing Grenades
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Set Integer_GrenadeNumber = (Integer_GrenadeNumber + 1)
If (Integer_GrenadeNumber Equal to 1) then do (Advanced - Take (Last created multiboard) and set the fill state for the progress bar in row 6 to 14.28 percent) else do (Do nothing)
If (Integer_GrenadeNumber Equal to 2) then do (Advanced - Take (Last created multiboard) and set the fill state for the progress bar in row 6 to 28.56 percent) else do (Do nothing)
If (Integer_GrenadeNumber Equal to 3) then do (Advanced - Take (Last created multiboard) and set the fill state for the progress bar in row 6 to 42.84 percent) else do (Do nothing)
If (Integer_GrenadeNumber Equal to 4) then do (Advanced - Take (Last created multiboard) and set the fill state for the progress bar in row 6 to 61.02 percent) else do (Do nothing)
If (Integer_GrenadeNumber Equal to 5) then do (Advanced - Take (Last created multiboard) and set the fill state for the progress bar in row 6 to 75.30 percent) else do (Do nothing)
If (Integer_GrenadeNumber Equal to 6) then do (Advanced - Take (Last created multiboard) and set the fill state for the progress bar in row 6 to 89.58 percent) else do (Do nothing)
If (Integer_GrenadeNumber Equal to 7) then do (Advanced - Take (Last created multiboard) and set the fill state for the progress bar in row 6 to 100.00 percent) else do (Set Integer_GrenadeNumber = 0)
What do you think... i havent tested yet, but do you think it will work?


