#Does anybody have a script example for controling the entity your riding

1 messages · Page 1 of 1 (latest)

grand escarp
#

Here is the code i cant really figure it out

#

on input key press:
if player is riding an entity:
if player is pressing forward movement key:
set velocity of {_a} to vector(9, 0, 0)

lone kiln
#

i think the velocity is so high that its not moving htem

grand escarp
#

oh

#

let's see

grand escarp
lone kiln
#

debug it

#

add a broadcast after each condition

#

oh wait

#

what is {_a} set to

grand escarp
#

oh

grand escarp
lone kiln
#

why r u not making it the entity that ur riding?

grand escarp
#

idk i js set it to that at the time

grand escarp
#

mounted entity?