Skript Version (do not put latest): Skript 2.3.5 (from GitHub)
Skript Author: bensku
Minecraft Version: 1.13.2
---
So, I'm trying to create a boat-race plugin (where you drive on the ice). The trouble is, that when a boat meets higher terrain, it obviously can't just "climb it up". So I have decided to make some kind of "boat launch pads" which should launch boats upwards. The problem is, that the boat isn't launched. For test purposes, I have created a simple dummy script to test, if it could work:
The "pushed" message is for debugging purposes, to see if the event is actually triggered. When the player in a boat meets a redstone block, the message is sent, however, the boat isn't launched, as it should work. I already heard that boats are "delicious" entities when it comes to manipulating with them. I have tried to search on the internet, but I found nothing. I ask if I can actually make a working "boat-pads" or if it's possible. If not, I guess that I will need to make horse-racing instead.
Errors on Reload:
Console Errors: (if applicable)
Other Useful Info:
Addons using (including versions):
No addons used.
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? I have tried to create a "/push" command, pushing the player upwards, but this didn't work either.
Skript Author: bensku
Minecraft Version: 1.13.2
---
So, I'm trying to create a boat-race plugin (where you drive on the ice). The trouble is, that when a boat meets higher terrain, it obviously can't just "climb it up". So I have decided to make some kind of "boat launch pads" which should launch boats upwards. The problem is, that the boat isn't launched. For test purposes, I have created a simple dummy script to test, if it could work:
Code:
on vehicle enter:
set {_%player%.boat} to event-entity
broadcast "vehicle set"
stop
on step on redstone block:
push {_%player%.boat} upwards at speed 1
broadcast "pushed"
stop
command /push:
trigger:
push {_%player%.boat} upwards at speed 1
broadcast "pushed"
stop
The "pushed" message is for debugging purposes, to see if the event is actually triggered. When the player in a boat meets a redstone block, the message is sent, however, the boat isn't launched, as it should work. I already heard that boats are "delicious" entities when it comes to manipulating with them. I have tried to search on the internet, but I found nothing. I ask if I can actually make a working "boat-pads" or if it's possible. If not, I guess that I will need to make horse-racing instead.
Errors on Reload:
- An entity cannot be saved, i.e. the contents of the variable {%the player%.boat} will be lost when the server stops. (script.sk, line 2: set {%player%.boat} to event-entity')
Console Errors: (if applicable)
- No errors.
Other Useful Info:
Addons using (including versions):
No addons used.
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? I have tried to create a "/push" command, pushing the player upwards, but this didn't work either.
Last edited: