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.

Help with looping players to assign them to arenas

Discussion in 'Skript' started by BlackVen4m, Jan 15, 2022.

Tags:
Thread Status:
Not open for further replies.
  1. BlackVen4m

    BlackVen4m New Member

    Joined:
    Jul 19, 2021
    Messages:
    7
    Likes Received:
    0
    So I don't know if this is possible in skript:

    So what I want is if I do /eventstart it will loop all the players, and assign all of them to fight against eachother in different arenas. For example we have 4 players, and it's going to assing Player 1 to fight Player 2 in arena 1, and assign Player 3 to fight with Player 4 in arena 2. Is this possible?
    --- Double Post Merged, Jan 18, 2022, Original Post Date: Jan 15, 2022 ---
    Looks like no answers :emoji_frowning:
     
  2. Allan Noyd

    Allan Noyd Member

    Joined:
    Apr 29, 2021
    Messages:
    38
    Likes Received:
    0
    It should be possible if you store the coords of starting positions in every arena, allocate temporary status to each player, randomly choose two statuses for each arena, teleport players with those statuses to that arena's starting points and somehow keep track of which player already has a player to fight before you teleport them. (Wow that was a mouthful to say) Looks like variables will be your daily bread for some time. :/
     
  3. BlackVen4m

    BlackVen4m New Member

    Joined:
    Jul 19, 2021
    Messages:
    7
    Likes Received:
    0
    Okay thx for the help I will try to brainstorm a solution!
     
Thread Status:
Not open for further replies.

Share This Page

Loading...