chunk location

  • 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 comminuty!

    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!

hh07

Member
Jan 22, 2023
10
0
1
20
I wanne check if player is in a certain chunk I already tried some stuff like
Code:
command /test:
   trigger:
      set {chunk} to chunk at player's location
      if player is in {chunk}:
         #do stuff
        
        
command /test2:
   trigger:
      set {chunk} to chunk at player's location
      set {chunkz} to z-coordinates of {chunk}
      set {chunkx} to x-coordinates of {chunk}
      if player is between {chunkx} and {chunkz}:
         #do stuff