hey guys, I made a trigger that when the player left clicks, it fires raynors snipe effect at a location away from the caster in the direction the caster is facing, however, when I test it ingame, all it does is fire into the bottom left of the map :S
Events
UI - Player Any Player clicks Any mouse button Down.
Local Variables
Conditions
(Mouse button clicked) == Left
Actions
Variable - Set TempPlayer = (Triggering player)
Variable - Set TempPoint[1] = ((Position of Ship[TempPlayer]) offset by 0.7 towards ((Facing of Ship[TempPlayer]) + 20.0) degrees)
Variable - Set TempPoint[3] = (TempPoint[1] offset by 100.0 towards (Facing of Ship[TempPlayer]) degrees)
Animation - Play Attack animation for (Actor for Ship[TempPlayer]) as Default, using Model Driven Looping options and Default Time blend time
Environment - Execute Raynor - Raynor Snipe (Create Persistent) at TempPoint[3] from Ship[TempPlayer]
hey guys, I made a trigger that when the player left clicks, it fires raynors snipe effect at a location away from the caster in the direction the caster is facing, however, when I test it ingame, all it does is fire into the bottom left of the map :S
Events
UI - Player Any Player clicks Any mouse button Down.
Local Variables
Conditions
(Mouse button clicked) == Left
Actions
Variable - Set TempPlayer = (Triggering player)
Variable - Set TempPoint[1] = ((Position of Ship[TempPlayer]) offset by 0.7 towards ((Facing of Ship[TempPlayer]) + 20.0) degrees)
Variable - Set TempPoint[3] = (TempPoint[1] offset by 100.0 towards (Facing of Ship[TempPlayer]) degrees)
Animation - Play Attack animation for (Actor for Ship[TempPlayer]) as Default, using Model Driven Looping options and Default Time blend time
Environment - Execute Raynor - Raynor Snipe (Create Persistent) at TempPoint[3] from Ship[TempPlayer]