Hey, ive made a trigger that shoots off the hellion's flamethrower (yes DSG) and now im getting that the damage is some random number between 10 and like 200. If anyone could help? also, if anyone could find the legendary lost posts that i posted the day before and they werent there the day after lol.
-
Atk
-
Events
-
UI - Player Any Player clicks Left mouse button Down.
-
-
Local Variables
-
tempPlayer = 0 <Integer>
-
tempPlayerGroup = (Empty player group) <Player Group>
-
-
Conditions
-
Actions
-
Variable - Set tempPlayer = (Triggering player)
-
Player Group - Add player tempPlayer to tempPlayerGroup
-
General - If (Conditions) then do (Actions) else do (Actions)
-
If
-
(Player tempPlayer Minerals) == 0
-
-
Then
-
General - If (Conditions) then do (Actions) else do (Actions)
-
If
-
Ron[tempPlayer] == false
-
(Player 1 Vespene) >= 1
-
-
Then
-
General - If (Conditions) then do (Actions) else do (Actions)
-
If
-
(Player 1 Vespene) >= 8
-
-
Then
-
Variable - Set Ron[tempPlayer] = true
-
UI - Display "Reloading..." for tempPlayerGroup to Error area
-
General - Wait 3.0 Real Time seconds
-
UI - Display "Reloaded" for tempPlayerGroup to Error area
-
Player - Modify player tempPlayer Minerals: Set To 8
-
Variable - Set Ron[tempPlayer] = false
-
-
Else
-
Player - Modify player tempPlayer Minerals: Set To (Player 1 Vespene)
-
-
-
-
Else
-
General - If (Conditions) then do (Actions) else do (Actions)
-
If
-
Ron[tempPlayer] == false
-
-
Then
-
UI - Display "Error : No Ammo Remaining " for tempPlayerGroup to Error area
-
-
Else
-
-
-
-
-
Else
-
Point - Move GlobalPoint To (Point((Mouse X position clicked in the world), (Mouse Y position clicked in the world)))
-
Unit - Make RedHero face GlobalPoint over 0.0 seconds
-
Animation - Play Attack Default animation for (Actor for RedHero) as Default, using Play Forever options and Default Time blend time
-
Variable - Set Atf[1][1] = false
-
Variable - Set Atf[2][1] = false
-
Variable - Set Atf[4][1] = false
-
Variable - Set Atf[3][1] = false
-
Point - Move GlobalPoint2 To ((Position of RedHero) offset by 2.0 towards (Facing of RedHero) degrees)
-
Unit - Create 1 Hellion for player 1 at GlobalPoint2 facing (Facing of RedHero) degrees (Ignore Placement)
-
Environment - Execute Hellion - Infernal Flame Thrower (Create Persistent) on (Last created unit) from RedHero
-
Unit - Remove (Last created unit) from the game
-
Player - Modify player 1 Minerals: Subtract 1
-
Player - Modify player 1 Vespene: Subtract 1
-
UI - Display ("Abberation Health : " + (Text((Aberration [110.29, 171.94] Life (Current))) with Any Precision decimal places)) for tempPlayerGroup to Error area
-
-
-
-
Last edited: