UP
????Events
????????Player - Player 1 (Red) Releases the Up Arrow key
????Conditions
????Actions
????????Unit - Order (#Unit you want to move#) to Move To ((Position of (#Unit you want to move#)) offset by 300.00 towards 90.00 degrees)
NB:
North - 90
South - 270
East - 0
West - 180
Offset - Distance to move, should be ok as is.
UP
????Events
????????Player - Player 1 (Red) Releases the Up Arrow key
????Conditions
????Actions
????????Unit - Order (#Unit you want to move#) to Move To ((Position of (#Unit you want to move#)) offset by 300.00 towards 90.00 degrees)
Wouldnt that make you need to spam the button quite a lot?
Code:
Trigger 1
Events
Player - Player 1 (Red) Presses the Up arrow key
Conditions
Actions
Trigger - Turn on Trigger 2
Trigger 2
Initially Off
Events
Time - Every 0.5 seconds on the game
Conditions
Actions
Example 1(makes it move forward)
Unit - Order (Unit you want to move) to Move To ((Position of (Unit you want to move)) offset by 150 towards (Facing Angle of(Unit you want to move))
Example 2(makes it move north)
Unit - Order (Unit you want to move) to Move To ((Position of (Unit you want to move)) offset by 150 towards 90 degrees.
Trigger 3
Events
Player - Player 1 (Red) releases the Up arrow Key
Conditions
Actions
Trigger - Turn off Trigger 2
Could 1 of you make it as a custom script or something for me because i don't have the expansion and i can't fgure out how to make the key triger =/...
Please and Thank you
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.