Trigger Help

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
I'm using movement triggers to control a vehicle, and I need it to accelerate slowly while you hold down the "forward" button, and then de-celerate 2x as fast when you let go (the back button slows it down 4x faster) the right and left keys have to turn the boat, but keep it moving at the same speed as it was before (you can't turn when your not moving)...

So far I haven't got it working, ne help?
 

SoNiC_tHe_IgEl

Member!
Joined
Aug 6, 2003
Messages
503
Reaction score
0
Location
Germany
Website
www.kotzwuerg.de.vu
i tried it over 1 hour now ... i know that it is possible but ... i just... dont get it -_-

i made the trigger to turn the gay thing left or right:

left
Events
Player - Player 1 (Red) Presses the Left Arrow key
Conditions
Actions
Unit - Make Glaive Thrower 0000 <gen> face ((Facing of Glaive Thrower 0000 <gen>) + 90.00) over 0.00 seconds

the red number can be changed like u want ... the same u can do with right, just change the "left key" to "right key" ... and change the "+90" to "-90" or like u want...

------------------------------------------

for the speed:

faster
Events
Player - Player 1 (Red) Presses the Up Arrow key
Conditions
Actions
Unit - Set Glaive Thrower 0000 <gen> movement speed to ((Current movement speed of Glaive Thrower 0000 <gen>) + 20.00)

slow
Events
Player - Player 1 (Red) Presses the Down Arrow key
Conditions
Actions
Unit - Set Glaive Thrower 0000 <gen> movement speed to ((Current movement speed of Glaive Thrower 0000 <gen>) - 20.00)

-----------------------------

the 20 can be changed like u want ;) so its getting faster like u want or getting slower like u want ...

----------------------------

The problem now is: it is not moving forward...

if u issue him to move to a region u cant move him right or left...
it can only turn left and right when its not moving... but i dont think u want that :/

i will just test it now ... maybe i will get it to work soon ...

-Soni©
 

NewPosts

New threads

Top