Leaderboard problem...

Discussion in 'World Editor Help' started by StormRaider, Aug 1, 2011.

  1. StormRaider

    StormRaider New Member

    Ratings:
    +3 / 0 / -0
    I'm using ROC editor NOT TFT editor..

    asd.png

    I'm trying to create a Leaderboard showing the lives for a simple TD..

    I believe i've triggered it correctly anyone can help?
     

    Attached Files:

    • asd.png
      asd.png
      File size:
      52.6 KB
      Views:
      153
  2. Solu9

    Solu9 You can change this now in User CP.

    Ratings:
    +219 / 1 / -0
    Wouldn't you want to set the "Set Red" in a different trigger? Fx. Map Installation -> If "Set Red" equals (let's say 30 lives") 30 then end game for player red.
     
  3. StormRaider

    StormRaider New Member

    Ratings:
    +3 / 0 / -0
    But the problem is it's not adding lives or deleting lives :(
     
  4. Solu9

    Solu9 You can change this now in User CP.

    Ratings:
    +219 / 1 / -0
    Oh yeah...
    Edit: Does the "Red" trigger work? Because if it doesn't you may want to change "triggering unit" to "entering unit". Im not sure that will help but try it out.

    Edit: Btw. Next time you want to post a trigger use [ WC3 ] [ /WC3] (without spaces) and copy the trigger as text and paste it in between the brackets.
     
  5. StormRaider

    StormRaider New Member

    Ratings:
    +3 / 0 / -0
    do you see any reason why it's not working ? ;s
     
  6. Solu9

    Solu9 You can change this now in User CP.

    Ratings:
    +219 / 1 / -0
    Only if you have to use "Entering unit" instead of "Triggering unit" in the trigger "Red". Try it out.
     
  7. StormRaider

    StormRaider New Member

    Ratings:
    +3 / 0 / -0
    Okay cool i'll try it right now.
     
  8. StormRaider

    StormRaider New Member

    Ratings:
    +3 / 0 / -0
    I tried that and didn't work :/ any other suggestions
     
  9. StormRaider

    StormRaider New Member

    Ratings:
    +3 / 0 / -0
    Also everything in the red trigger works except for editing the leaderboard to -1 life for each person entering the region.
     
  10. Solu9

    Solu9 You can change this now in User CP.

    Ratings:
    +219 / 1 / -0
    Have you set "Set Red" anywhere? And don't you want to subtract from Red instead of adding?
     
  11. StormRaider

    StormRaider New Member

    Ratings:
    +3 / 0 / -0
    I'm making red have 50 lives. And each time a person enters the region he loses a live (-1)
     
  12. StormRaider

    StormRaider New Member

    Ratings:
    +3 / 0 / -0
    Would me uploading the map then you opening it in worldeditor make it easier for you to help me?
     
  13. Solu9

    Solu9 You can change this now in User CP.

    Ratings:
    +219 / 1 / -0
    Yeah but as it is now you are adding to "Red" the variable when a unit enters the region. Try setting it to "Set Red = (Red -1)" instead of +1.
     
  14. StormRaider

    StormRaider New Member

    Ratings:
    +3 / 0 / -0
    I did do that. I'll just upload the file.
     
  15. StormRaider

    StormRaider New Member

    Ratings:
    +3 / 0 / -0
  16. Solu9

    Solu9 You can change this now in User CP.

    Ratings:
    +219 / 1 / -0
    Make a trigger like this for every player.

    Trigger:
    • Change Lives Blue
      • Events
        • Time - Every 0.10 seconds of game time
      • Conditions
      • Actions
        • Leaderboard - Change the value for Player 2 (Blue) in (Last created leaderboard) to Blue


    This is a very simple solution and I KNOW it can be done in a fancier way. But this works.
     
    • Like Like x 1
  17. StormRaider

    StormRaider New Member

    Ratings:
    +3 / 0 / -0
    Wow this worked, you're the best <3333333!!!
     
  18. Solu9

    Solu9 You can change this now in User CP.

    Ratings:
    +219 / 1 / -0
    Heh glad I could help :)
     

Share This Page