• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Question about hero selection system

Status
Not open for further replies.
Level 7
Joined
Feb 23, 2020
Messages
253
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)
 
Level 14
Joined
Feb 7, 2020
Messages
387
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.
 
Level 7
Joined
Feb 23, 2020
Messages
253
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.
 
Level 14
Joined
Feb 7, 2020
Messages
387
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.
 
Level 7
Joined
Feb 23, 2020
Messages
253
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.
Top