1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  4. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  5. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  6. The results are out! Check them out.
    Dismiss Notice
  7. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  8. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

multiboard help :D

Discussion in 'Map Development' started by Darklord-, Apr 28, 2005.

  1. Darklord-

    Darklord-

    Joined:
    Apr 27, 2005
    Messages:
    45
    Resources:
    0
    Resources:
    0
    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 :)
     
  2. Raptor--

    Raptor--

    Joined:
    Jul 30, 2004
    Messages:
    452
    Resources:
    0
    Resources:
    0
    uhm, if you did it with a leaderboard its the exact same only you choose a column now
     
  3. Darklord-

    Darklord-

    Joined:
    Apr 27, 2005
    Messages:
    45
    Resources:
    0
    Resources:
    0
    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
     
  4. Raptor--

    Raptor--

    Joined:
    Jul 30, 2004
    Messages:
    452
    Resources:
    0
    Resources:
    0
    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
     
  5. Darklord-

    Darklord-

    Joined:
    Apr 27, 2005
    Messages:
    45
    Resources:
    0
    Resources:
    0
    Ill try.. but in the meen time is there any other way as well ? :p if it doesnt work :D or something with JASS :p
     
  6. Raptor--

    Raptor--

    Joined:
    Jul 30, 2004
    Messages:
    452
    Resources:
    0
    Resources:
    0
    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
     
  7. Darklord-

    Darklord-

    Joined:
    Apr 27, 2005
    Messages:
    45
    Resources:
    0
    Resources:
    0
    allright :oops:
     
  8. Rahn

    Rahn

    Joined:
    Apr 13, 2005
    Messages:
    18
    Resources:
    0
    Resources:
    0
    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!
     
  9. Darklord-

    Darklord-

    Joined:
    Apr 27, 2005
    Messages:
    45
    Resources:
    0
    Resources:
    0
    If it doesnt thanks for tring to help :wink: but lets hope for the best:p