I need help!Keyboard commands

Werbung:

Xeridanus

New Member
Here you go. No credit required.

Code:
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.

Any questions, reply here.
 

Xeridanus

New Member
I agree with Hunter_destruction

@ N00byStance, you're right. But it depends on the effect Bounty wants, whether he wants it to be stopped by ojects in the way.
 

maggafeso

New Member
Code:
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
wouldnt that work?
 
Werbung:

Deathsmoan

New Member
Key Trigger

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

~Deathsmoan~
 
Top