• 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.

Table of numbers :P

Status
Not open for further replies.
Level 3
Joined
Oct 31, 2014
Messages
55
Hey guys ,i need to know how to create a table of numbers representing the ammount of times (a counter) a player's hero kills another player's hero, and the ammount of times a hero dies, also the table must appear below the gold/lumber/food counter if its posible. I never done anything like that so i have no clue at all :/
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
You use triggers. You first set up the window with correct title and column size and then you set individual elements. Do note that the GUI BJ wrappers do an O(n) search for the element in order to support filling so it is possible to hit the op limit with very large (lots of rows and columns) multiboards.

For local multiboards (one unique to each human player) you need to use GetLocalPlayer to show as appropriate. If creating with GUI you must show them after all are created as the BJ automatically shows the multiboard upon creation which would overwrite your local show otherwise.
 
Level 3
Joined
Oct 31, 2014
Messages
55
  • Set iPlayerCount = (Number of players in (All players matching (((Matching player) slot status) Equal to Is playing)))
  • Multiboard - Create a multiboard with x columns and (iPlayerCount + 1) rows, titled String

can you show me how you got there?
 
Status
Not open for further replies.
Top