1. Find your way through the deepest dungeon in the 18th Mini Mapping Contest Poll.
    Dismiss Notice
  2. A brave new world lies beyond the seven seas. Join the 34th Modeling Contest today!
    Dismiss Notice
  3. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
Hive 3 Remoosed BETA - NOW LIVE. Go check it out at BETA Hive Workshop! Post your feedback in this new forum BETA Feedback.
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Question about hero selection system

Discussion in 'World Editor Help Zone' started by Xzere, May 7, 2020.

  1. Xzere

    Xzere

    Joined:
    Feb 23, 2020
    Messages:
    152
    Resources:
    0
    Resources:
    0
    Hello! I've looked around in the hive and i found a HSS that i really like and want to use. But i cant seem to figure out if this works for multiple players, it looks like it's possible, but how?

    Selection Hero System (v1.3)
     
  2. Planetary

    Planetary

    Joined:
    Feb 7, 2020
    Messages:
    291
    Resources:
    2
    Maps:
    1
    Spells:
    1
    Resources:
    2
    Glancing at the code, it should support up to 12 players (seems like a pre-24 player system).

    You can tell from code like this:
    • Set SHS_Sys_IndexValue = 1
    • Set SHS_Sys_PlayerColor[SHS_Sys_IndexValue] = |cffff0000
    • Set SHS_Sys_IndexValue = (SHS_Sys_IndexValue + 1)
    • Set SHS_Sys_PlayerColor[SHS_Sys_IndexValue] = |cff0000ff
    • Set SHS_Sys_IndexValue = (SHS_Sys_IndexValue + 1)
    • Set SHS_Sys_PlayerColor[SHS_Sys_IndexValue] = |cff01c59d
    • Set SHS_Sys_IndexValue = (SHS_Sys_IndexValue + 1)
    • Set SHS_Sys_PlayerColor[SHS_Sys_IndexValue] = |cff370037
    • Set SHS_Sys_IndexValue = (SHS_Sys_IndexValue + 1)
    • Set SHS_Sys_PlayerColor[SHS_Sys_IndexValue] = |cffffff00
    • Set SHS_Sys_IndexValue = (SHS_Sys_IndexValue + 1)
    • Set SHS_Sys_PlayerColor[SHS_Sys_IndexValue] = |cffff8000
    • Set SHS_Sys_IndexValue = (SHS_Sys_IndexValue + 1)
    • Set SHS_Sys_PlayerColor[SHS_Sys_IndexValue] = |cff00ff00
    • Set SHS_Sys_IndexValue = (SHS_Sys_IndexValue + 1)
    • Set SHS_Sys_PlayerColor[SHS_Sys_IndexValue] = |cffff80ff
    • Set SHS_Sys_IndexValue = (SHS_Sys_IndexValue + 1)
    • Set SHS_Sys_PlayerColor[SHS_Sys_IndexValue] = |cff808080
    • Set SHS_Sys_IndexValue = (SHS_Sys_IndexValue + 1)
    • Set SHS_Sys_PlayerColor[SHS_Sys_IndexValue] = |cff66a3d5
    • Set SHS_Sys_IndexValue = (SHS_Sys_IndexValue + 1)
    • Set SHS_Sys_PlayerColor[SHS_Sys_IndexValue] = |cff004020
    • Set SHS_Sys_IndexValue = (SHS_Sys_IndexValue + 1)
    • Set SHS_Sys_PlayerColor[SHS_Sys_IndexValue] = |cff492121
    • Set SHS_Sys_IndexValue = (SHS_Sys_IndexValue + 1)

    And there are slot comparisons for up to 12 players.
     
  3. Xzere

    Xzere

    Joined:
    Feb 23, 2020
    Messages:
    152
    Resources:
    0
    Resources:
    0
    Yeah that's what i found out too, but i cant seem to figure it out how to use it with more than just one player.
     
  4. Planetary

    Planetary

    Joined:
    Feb 7, 2020
    Messages:
    291
    Resources:
    2
    Maps:
    1
    Spells:
    1
    Resources:
    2
    All of this is handled in the
    Startup
    trigger. Each player will see different heroes locally.

    You should only have to copy over the data per
    How To Import
    and place the
    Showcase
    region to wherever the hero selection gallery should exist in your map:

    upload_2020-5-7_15-17-23.png

    Each player will see the different heroes at that region's location.
     
  5. Xzere

    Xzere

    Joined:
    Feb 23, 2020
    Messages:
    152
    Resources:
    0
    Resources:
    0
    I did try something similar, but the other person doesnt get a multiboard or anything. Maybe i'm doing it wrong though