Player Event

  • Welcome to skUnity!

    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 community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
code_language.skript:
set {_loc} to location at player
if y-coordinate of {_loc} < 1:
 
He's asking for an event.

The closest you can get to that is the on any move event:

code_language.skript:
on any move:
    y-coordinate of location at player is less than 1
    #do stuff

Of course, that event is terrible and it's going to drop your tps a lot.
There is nothing else you can do.
 
He's asking for an event.

The closest you can get to that is the on any move event:

code_language.skript:
on any move:
    y-coordinate of location at player is less than 1
    #do stuff

Of course, that event is terrible and it's going to drop your tps a lot.
There is nothing else you can do.

" can't understand this event: `on any move`"?
Help
 
That uses SkQuery to work.
I have that, but still get the same error?
[doublepost=1505001152,1505000497][/doublepost]
code_language.skript:
if player:
  y-coordinate of location at player is less than 3
  make player execute command "/command"

This will not work
 
I have that, but still get the same error?
[doublepost=1505001152,1505000497][/doublepost]
code_language.skript:
if player:
  y-coordinate of location at player is less than 3
  make player execute command "/command"

This will not work
you may have a non-matching version for skqury. or it's not up to date etc.Can only guess since you didnt provide your versions via the format:emoji_stuck_out_tongue: but you could also try using a periodical. "every 5 seconds" sort of deal. but it also will cause lag so be careful
 
you may have a non-matching version for skqury. or it's not up to date etc.Can only guess since you didnt provide your versions via the format:emoji_stuck_out_tongue: but you could also try using a periodical. "every 5 seconds" sort of deal. but it also will cause lag so be careful

I am using the latest version
 
I am using the latest version
welp, did you do a restart? mc version up to date? Skript version compatable with your mc version?
if your error is "can't understand this event" then your addon isn't being recognized for likely the above reasons. you may also have an addon that is messing skquery up. that's why listing your addons is apart of the format required:emoji_slight_smile:
and again, you can try the periodical as well. give that one a shot, it's a quicker test than messing with addons
 
Status
Not open for further replies.