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

[Trigger] Help With Trigger System

Status
Not open for further replies.
Level 2
Joined
Apr 7, 2007
Messages
14
I have no clue where to post this, but it is trigger related. I am looking to make a multiboard, or something like it that will display resources of a player, to that player only. I have variable arrays with 1-Max Players as the array, each part of the array made to store that type resource of the player. I have a muiltboard displaying 5 resource stats to player 1, but I cant figure it out after that.

If Jass is needed, fine, I can figure out how to use that too.

More Background:
I am making a map where there will be around 9-12 players, 3-4 players a team. The players allocate 5 different resources, this includes the two that are gold and lumber in the normal war3. The other 3 are variable controlled. I am looking for a system not only to display the data to the players, but to control the data for each player without messing up the other players. I think I can use a variable array for the control of each players resources.

P.S. Thank you to anyone that helps.
 
Level 7
Joined
Dec 8, 2005
Messages
319
ok well this is easy... have you ever made a multiboard before? and just curious but are you dealing with integers or real variables? one is whole and other is made for smaller numbers like decimals.
 
Last edited:
Level 7
Joined
Dec 8, 2005
Messages
319
wow i have made many multi boards before yet a leader board is the only thing i see that shows to one player only and yet a multiboard has the abilities you need... so i would say that you are going to need someone to write up a few lines of jass that will go though a loop and display each multiboard and you can make it as an array and set it to the players number and then that would be that.. but i dont know jass enough to help you with that sorry
 
Level 2
Joined
Apr 7, 2007
Messages
14
Found what I need.

Just used

if (GetLocalPlayer() == Player(0)) then
call MultiboardDisplayBJ( true, udg_P1MultiBoard )
else
call MultiboardDisplayBJ( false, udg_P1MultiBoard )
endif
if (GetLocalPlayer() == Player(1)) then
call MultiboardDisplayBJ( true, udg_P2MultiBoard )
else
call MultiboardDisplayBJ( false, udg_P2MultiBoard )
endif

Etc, per player, so it only shows the multiboard I made for that player to that player.
 
Status
Not open for further replies.
Top