Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
on vehicle steer forward:
push event-player's vehicle in event-player's horizontal facing with speed 1
on vehicle steer forward:
# event-player's vehicle is on ground
add "{Rotation:[%event-player's yaw%f, %event-player's pitch%f]}" to event-player's vehicle's nbt
push event-player's vehicle forward with speed 0.2
on vehicle steer backward:
event-player's vehicle is on ground
add "{Rotation:[%event-player's yaw%f, %event-player's pitch%f]}" to event-player's vehicle's nbt
push event-player's vehicle backwards with speed 0.2
on vehicle steer left:
event-player's vehicle is on ground
add "{Rotation:[%event-player's yaw%f, %event-player's pitch%f]}" to event-player's vehicle's nbt
push event-player's vehicle left with speed 0.05
on vehicle steer right:
event-player's vehicle is on ground
add "{Rotation:[%event-player's yaw%f, %event-player's pitch%f]}" to event-player's vehicle's nbt
push event-player's vehicle right with speed 0.05
on vehicle steer jump:
event-player's vehicle is on ground
y of event-player's vehicle's velocity < 0
add "{Rotation:[%event-player's yaw%f, %event-player's pitch%f]}" to event-player's vehicle's nbt
push event-player's vehicle up with speed 0.5
I've tried it, no errors on the console and no errors when reloading the skript but; only jumping works.No, sorry, i'm far from knowledgable about these old versions.
You move the entity by using this:
code_language.skript:on vehicle steer forward: push event-player's vehicle in event-player's horizontal facing with speed 1
Something like this, the syntax is propably off
/edit:
Nevermind, found some old code of mine that i used for this (with WolvSK):
code_language.skript:on vehicle steer forward: # event-player's vehicle is on ground add "{Rotation:[%event-player's yaw%f, %event-player's pitch%f]}" to event-player's vehicle's nbt push event-player's vehicle forward with speed 0.2 on vehicle steer backward: event-player's vehicle is on ground add "{Rotation:[%event-player's yaw%f, %event-player's pitch%f]}" to event-player's vehicle's nbt push event-player's vehicle backwards with speed 0.2 on vehicle steer left: event-player's vehicle is on ground add "{Rotation:[%event-player's yaw%f, %event-player's pitch%f]}" to event-player's vehicle's nbt push event-player's vehicle left with speed 0.05 on vehicle steer right: event-player's vehicle is on ground add "{Rotation:[%event-player's yaw%f, %event-player's pitch%f]}" to event-player's vehicle's nbt push event-player's vehicle right with speed 0.05 on vehicle steer jump: event-player's vehicle is on ground y of event-player's vehicle's velocity < 0 add "{Rotation:[%event-player's yaw%f, %event-player's pitch%f]}" to event-player's vehicle's nbt push event-player's vehicle up with speed 0.5
The nbt stuff requires SkStuff, but you just omit that