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.

Overlapping Regions, Priorities, and Skript

Discussion in 'Skript' started by Lummox, Oct 9, 2020.

Thread Status:
Not open for further replies.
  1. Lummox

    Lummox Member

    Joined:
    Jan 29, 2017
    Messages:
    28
    Likes Received:
    0
    When you are in a region that overlaps with another region, how can you specify that it only "sees" the region with the highest priority?

    Code (Text):
    1. broadcast "%region at player%"
    It always returns the name of all overlapping regions, regardless of their priority.
     
  2. GRRRilla_Ninja

    Joined:
    Sep 25, 2017
    Messages:
    18
    Likes Received:
    0
    How are you determining which region should have the highest priority? Is it something you want to specify yourself, or?
     
  3. Lummox

    Lummox Member

    Joined:
    Jan 29, 2017
    Messages:
    28
    Likes Received:
    0
    @GRRRilla_Ninja The priority of a region is determined in the "Worldguard" itself.

    What I want is for "Skript" to find the region with the highest priority in "Worldguard" and only work on that region, and not with all the others that are overlapping.
     
  4. GRRRilla_Ninja

    Joined:
    Sep 25, 2017
    Messages:
    18
    Likes Received:
    0
    Yeah I have no idea and I don't see any relevant search results from Google
     
Thread Status:
Not open for further replies.

Share This Page

Loading...