1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Check if a coordinate is between 2 other coordinates

Discussion in 'Skript' started by Computerize, Feb 13, 2020.

  1. Computerize

    Computerize Active Member

    Joined:
    Oct 10, 2019
    Messages:
    26
    Likes Received:
    0
    How do I check if {_x} {_y} {_z} is between {_x1} {_y1} {_z1} and {_x2} {_y2} {_z2}?
    I don't need to worry about the y coordinate but each of the x and z cords need to be as a different variables.
     
  2. Goose

    Goose Well-Known Member

    Joined:
    Nov 23, 2019
    Messages:
    290
    Likes Received:
    12
    I don't think there is syntax for that, but you can certainly make a function
     
  3. novastosha

    novastosha Well-Known Member

    Joined:
    Jan 11, 2019
    Messages:
    240
    Likes Received:
    13
    If you want i can give you my claiming system and you use it for the needed purpose.
     
  4. Computerize

    Computerize Active Member

    Joined:
    Oct 10, 2019
    Messages:
    26
    Likes Received:
    0
    That'd be great, my discord is Computerize#5460
     
Loading...