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 haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Ride into the sunset with the 32nd Modeling Contest.
    Dismiss Notice
  4. This adventure has come to an end. Congratulate our heroes in the 16th Mini Mapping Contest Results.
    Dismiss Notice
  5. From the gates of hell, the 5th Special Effect Contest Results have emerged.
    Dismiss Notice
  6. Race against the odds and Reforge, Don't Refund. The 14th Techtree Contest has begun!
    Dismiss Notice
  7. 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.

Leaderboard

Discussion in 'World Editor Help Zone' started by Lee_Go, Dec 9, 2009.

  1. Lee_Go

    Lee_Go

    Joined:
    May 1, 2009
    Messages:
    156
    Resources:
    0
    Resources:
    0
    How can i have it so my leaderboard that shows
    -Recouces-
    Wood Stock: X
    so that it unhides for a certain player wen the triggering player's unit enters region.

    Bob enters region A so he sees the leaderboard, he leaves, leaderboard goes away. Jim enters region A so he sees the leaderboard, Bob enters region A, they both see it :xxd:.
     
  2. ap0calypse

    ap0calypse

    Joined:
    Jan 26, 2007
    Messages:
    4,777
    Resources:
    2
    Spells:
    1
    Tutorials:
    1
    Resources:
    2
    • Hide Leaderboard
      • Events
        • Unit - A unit leaves Region
      • Conditions
      • Actions
        • Custom script: if GetLocalPlayer() == GetOwningPlayer(GetTriggerUnit()) then
        • Leaderboard - Hide (Last created leaderboard)
        • Custom script: endif


    • Show Leaderboard
      • Events
        • Unit - A unit enters Region
      • Conditions
      • Actions
        • Custom script: if GetLocalPlayer() == GetOwningPlayer(GetTriggerUnit()) then
        • Leaderboard - Show (Last created leaderboard)
        • Custom script: endif


    Something like this?

    Edit: wait... you want a multiboard or a leaderboard?
    Make up your mind already D:
    (I prefer multiboards, you can make them look a lot better...).
     
  3. Lee_Go

    Lee_Go

    Joined:
    May 1, 2009
    Messages:
    156
    Resources:
    0
    Resources:
    0
    multiboard?! i didnt even know there was a difference
     
  4. ap0calypse

    ap0calypse

    Joined:
    Jan 26, 2007
    Messages:
    4,777
    Resources:
    2
    Spells:
    1
    Tutorials:
    1
    Resources:
    2
    Yeah, there's quite a huge difference...
    Multiboard is the most common nowadays, you can minimize/maximize it yourself and you can insert any value in it (like lumber, kills, hero, item, ...).
    It also supports icons and you can create it's own structure.

    A leaderboard only features players + 1 value.
    You cannot change it's structure, it doesn't support icons and you can't minimize/maximize it.
     
  5. Lee_Go

    Lee_Go

    Joined:
    May 1, 2009
    Messages:
    156
    Resources:
    0
    Resources:
    0
    Cool thats awsome, i'll try that but could you tell me if i can show a leaderboard for player 1 to player 2.
     
  6. ap0calypse

    ap0calypse

    Joined:
    Jan 26, 2007
    Messages:
    4,777
    Resources:
    2
    Spells:
    1
    Tutorials:
    1
    Resources:
    2
    I didn't get that...
    A leaderboard for player 1? To player 2?
     
  7. Lee_Go

    Lee_Go

    Joined:
    May 1, 2009
    Messages:
    156
    Resources:
    0
    Resources:
    0
    Sorry i keep dragging this thread on but I mean in the action when you create a leaderboard, you create it or you add something to the leaderboard for a certain player. EX) Add player 1 to last created leaderboard, then when you should last created leaderboard im wondering if player 2 can see player ones info set on the leaderboard, or if its only for player 1.
     
  8. ap0calypse

    ap0calypse

    Joined:
    Jan 26, 2007
    Messages:
    4,777
    Resources:
    2
    Spells:
    1
    Tutorials:
    1
    Resources:
    2
    No, if you set a player in a leaderboard, it's visible for everyone ^^
    So Player 2 can see player 1's info.