• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Question about hero selection system

Status
Not open for further replies.
Level 8
Joined
Feb 23, 2020
Messages
255
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)
 
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.
 
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.
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.
 
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.
 
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:

View attachment 354414

Each player will see the different heroes at that region's location.
I did try something similar, but the other person doesnt get a multiboard or anything. Maybe i'm doing it wrong though
 
Status
Not open for further replies.
Back
Top