WackO_WilL
New Member
- Reaction score
- 4
I know that there have been many threads about this, But I have been searching for about 5 hours now, And came up with a bunch of different triggers, Variables, that were rather Inaccurate. So here I will post what I have got so far.
I will tell you my results -
Forward Makes me head in the direction of east,
Left - Makes me turn right - Easy fix
Right - Works
Turn around, Makes me head west,
Forward, Left, Right, turn around, Seem to work for their Desginated Degree, And distance, But It only works when you tap the key. If I hold down the key, Then it stops after it reaches the designation of the Trigger i put in, But I want it to keep going.
Left, Right, Turn too abruptly.
Left and right to slowly turn, Making it easy to move into the more Tighter places.
Forward to go in the direction of which the unit is facing.
Turn around to make the unit whip around for easy retreat.
Also it seems that there is a 5 second cooldown before I can tap agian, Any clue why?
All in all, It should be something like Jurassic park 3rd person veiw Mode.
If you are going to post a trigger with variables, please state the variables, What are their propertys. It saves time to figure it out, And wastes only a small amount of yours.
Not to bribe, But I will give rep to all of those who help contribute to make a Working, Functional Accurate Keyboard Movement Trigger. And may even Post it some where for future refrence to everyone so we don't have these threads poping up anymore.
If you need anymore information, I will be accurate to tell you everybit of anything related to the question. All you have to do is ask
!
Thank you in advance. I hope this attempt at finding a good, Clean arrow key movement will not be in vain!
Code:
Camera
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
Loop - Actions
Camera - Apply Camera 002 <gen> for Player 1 (Red) over 0.00 seconds
Camera - Lock camera target for Player 1 (Red) to Rouge Male Nightelf 0012 <gen>, offset by (0.00, 20.00) using Default rotation
Camera - Set Player 1 (Red)'s camera Rotation to (Facing of Rouge Male Nightelf 0012 <gen>) over 0.00 seconds
Code:
Forward
Events
Player - Player 1 (Red) Presses the Up Arrow key
Conditions
Actions
Set Red_Hero_Point = (Position of Rouge Male Nightelf 0012 <gen>)
Unit - Order Rouge Male Nightelf 0012 <gen> to Move To (Red_Hero_Point offset by 100.00 towards 0.00 degrees)
Code:
Left
Events
Player - Player 1 (Red) Presses the Left Arrow key
Conditions
Actions
Set Red_Hero_Point = (Position of Rouge Male Nightelf 0012 <gen>)
Unit - Order Rouge Male Nightelf 0012 <gen> to Move To (Red_Hero_Point offset by (0.00, -5.00))
Code:
Right
Events
Player - Player 1 (Red) Presses the Right Arrow key
Conditions
Actions
Set Red_Hero_Point = (Position of Rouge Male Nightelf 0012 <gen>)
Unit - Order Rouge Male Nightelf 0012 <gen> to Move To (Red_Hero_Point offset by (0.00, 5.00))
Code:
Turn around
Events
Player - Player 1 (Red) Presses the Down Arrow key
Conditions
Actions
Set Red_Hero_Point = (Position of Rouge Male Nightelf 0012 <gen>)
Unit - Order Rouge Male Nightelf 0012 <gen> to Move To (Red_Hero_Point offset by -10.00 towards 0.00 degrees)
Code:
Stop
Events
Player - Player 1 (Red) Releases the Left Arrow key
Player - Player 1 (Red) Releases the Right Arrow key
Player - Player 1 (Red) Releases the Down Arrow key
Player - Player 1 (Red) Releases the Up Arrow key
Conditions
Actions
Unit - Order Rouge Male Nightelf 0012 <gen> to Stop
Custom script: call RemoveLocation(udg_Red_Hero_Point)
I will tell you my results -
Forward Makes me head in the direction of east,
Left - Makes me turn right - Easy fix
Right - Works
Turn around, Makes me head west,
-------------------------------------------------------
What is annoying -Forward, Left, Right, turn around, Seem to work for their Desginated Degree, And distance, But It only works when you tap the key. If I hold down the key, Then it stops after it reaches the designation of the Trigger i put in, But I want it to keep going.
Left, Right, Turn too abruptly.
-------------------------------------------------------
I want -Left and right to slowly turn, Making it easy to move into the more Tighter places.
Forward to go in the direction of which the unit is facing.
Turn around to make the unit whip around for easy retreat.
Also it seems that there is a 5 second cooldown before I can tap agian, Any clue why?
All in all, It should be something like Jurassic park 3rd person veiw Mode.
-------------------------------------------------------
It would be nice if some one could throw in a little extra work for finding out how to make a trigger that when a player Acuires a hero, it attachs camera to that hero it has chosen, There are 4 heros, If that will help.If you are going to post a trigger with variables, please state the variables, What are their propertys. It saves time to figure it out, And wastes only a small amount of yours.
Not to bribe, But I will give rep to all of those who help contribute to make a Working, Functional Accurate Keyboard Movement Trigger. And may even Post it some where for future refrence to everyone so we don't have these threads poping up anymore.
If you need anymore information, I will be accurate to tell you everybit of anything related to the question. All you have to do is ask
!
Thank you in advance. I hope this attempt at finding a good, Clean arrow key movement will not be in vain!