THUNDERPOWER
New Member
- Reaction score
- 1
For some strange reason, whenever I press Z, a missile is created (as it should), however, it stops being moved after 1 second. Any help on helping me fix the problem would be greatly appreciated. (Yes, aware the triggers suck.)
Trigger:
- Attack
- Events
- UI - Player Any Player presses Z key Down with shift Allow, control Allow, alt Allow
- Local Variables
- player = (Triggering player) <Integer>
- Conditions
- Actions
- Variable - Set Untitled Variable 002 = (Facing of unitHero[player])
- Unit - Create 1 Weapon - Default Missile for player player at (Position of unitHero[player]) facing Untitled Variable 002 degrees (No Options)
- Unit - Make (Last created unit) face Untitled Variable 002 over 0.0 seconds
- Variable - Set Untitled Variable 002 2 = (Last created unit)
- Unit - Order (Last created unit) to ( Move targeting ((Position of unitHero[player]) offset by 1.0 towards Untitled Variable 002 degrees)) (Replace Existing Orders)
- Events
Trigger:
- Attack 2
- Events
- Timer - Every 0.1 seconds of Game Time
- Local Variables
- Conditions
- Actions
- Unit - Order Untitled Variable 002 2 to ( Move targeting ((Position of unitHero[1]) offset by 1.0 towards Untitled Variable 002 degrees)) (Replace Existing Orders)
- Events