#Doesn't work
1 messages · Page 1 of 1 (latest)

Can't understand condition
The “whole code” is literally just a command /test with a trigger. That is the whole code.
I’ve been coding In skript for 6 years now I know I’m not making a mistake here
do you get any errors?
Yes, “unable to understand condition/effect”
so weird, examples taken straight from skripthub dont work for me either
even with some modifications
Yeah, it annoys me so much because the examples are supposed to be the one thing we can rely on
I found a workaround by just teleporting the player to the same location with a rotated yaw anyways.
But if anyone here is good at maths, I could REALLY use help in #1240242320515924029
try setting this: https://skripthub.net/docs/?id=947
or just make (entity) face (location)
I'm not sure how I'd set this as it needs to be in a player's location and the player might not be in three of those
yeah like I said it just does not work.
if distance between {_the} and event-player is less than 51:
set {_loc1} to {_the}'s location
set {_loc2} to event-player's location
teleport event-player to {_loc1}
teleport {_the} to {_loc2}
make {_the} face event-player's location```
Code btw
2.8.5
set {_v} to vector from {_the} to player
pitch/yaw of {_v} gives you where the player needs to look, you can teleport them
I know, it's the workaround, but the problem is that the original syntax itself isn't working resulting into having to use a workaround
there is no such syntax like that
?
!force me to look at target's location works for me
Yeah I used this one, the one that isn't working for me
its not really good tbh its kinda off