• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

multiboard help :D

Status
Not open for further replies.
Level 3
Joined
Apr 27, 2005
Messages
45
hey again :lol:

I got a multiboard with 9 players 3-12 there are 4 rows :p 1 - names of peeps 2 - Alive/Quit 3 - Kills and last one is Lives.

Lives are set to = 5
so if an player dies i does -1 to lives to dying player.

my problem is that if lives equal to 0 for that player then to that player defeated.

i have only done this for leaderboard thats easy :p but with multiboard its harder and i dont know that much about it :wink:
I got bigger problems then this with other triggers atm so thats why i ask help from you all :)
 
Level 7
Joined
Jul 30, 2004
Messages
451
Darklord- said:
hey again :lol:

I got a multiboard with 9 players 3-12 there are 4 rows :p 1 - names of peeps 2 - Alive/Quit 3 - Kills and last one is Lives.

Lives are set to = 5
so if an player dies i does -1 to lives to dying player.

my problem is that if lives equal to 0 for that player then to that player defeated.

i have only done this for leaderboard thats easy :p but with multiboard its harder and i dont know that much about it :wink:
I got bigger problems then this with other triggers atm so thats why i ask help from you all :)

uhm, if you did it with a leaderboard its the exact same only you choose a column now
 
Level 3
Joined
Apr 27, 2005
Messages
45
i dont wana sound like an idiot but can u give me an example :p with leader board i used for each player life1,life2,life3 etc.. but with multiboard i got for all players "lives" :p
 
Level 7
Joined
Jul 30, 2004
Messages
451
Darklord- said:
i dont wana sound like an idiot but can u give me an example :p with leader board i used for each player life1,life2,life3 etc.. but with multiboard i got for all players "lives" :p

i'm a bit lazy right now and i don't feel like writing out an entire example, but i'm assuming now you're using an array, so where you had life1 before, you replace it with lives[1] and life2, lives[2], etc... it should all work out the same
 
Level 7
Joined
Jul 30, 2004
Messages
451
another way? i don't know what you're talkinga bout now
and it will work, as long as you know what you're doing, which i can't give specifics on because i have no idea what your trigger looks like

and JASS doesn't do much for you that gui can do unless you really know what you're doing
 
Level 3
Joined
Apr 13, 2005
Messages
18
not sure if i can help or not but ill give it a go:
create 1 integer array called 'lives'. create another integer called 'i'
when a player hero (assuming ur using hero stuff) dies, set 'i' to player number of owner of dieing hero. in the same trigger, set 'lives' to -1 (ie. lives is used for all players and i can be used as the player number)
then create a if/then which detects if 'lives equal to 0 end game with failure for player i, etc.

this trigger also needs to run a refresh trigger for the multi board. all this needs in it is a few of the same triggers in the multiboard creation trigger which says that column# row# is lives. it dosent need an event because it is 'run'

hope this helps!
 
Status
Not open for further replies.
Top