logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    "Add to Score", how to reset the score?

    Scheduled Pinned Locked Moved
    Help and Support
    2
    4
    96
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Deeeds
      last edited by

      The Health bars have lots of functionality, but scoring is super simplistic, only up...

      Is there a way to reduce the score to zero, easily, on given events?

      What about "getting the score"? How is that done?

      Aidan_FireA 1 Reply Last reply Reply Quote 0
      • Aidan_FireA
        Aidan_Fire @Deeeds
        last edited by Aidan_Fire

        @Deeeds Use the Set label behaviour to set the score label to zero. Also to reduce score, just add -1 to the existing score. To get score, simply use Get Label.

        D 1 Reply Last reply Reply Quote 0
        • D
          Deeeds @Aidan_Fire
          last edited by

          @Aidan-Oxley DOH!

          I was hoping the Score was some kind of variable I could use. Not just a label. I guess a label is a variable, though. Of sorts.

          Aidan_FireA 1 Reply Last reply Reply Quote 0
          • Aidan_FireA
            Aidan_Fire @Deeeds
            last edited by

            @Deeeds You can make hidden variables. Under the Object tab look for Set and Get Attribute. (Also I usually don’t use Add to Score, I usually do it the long way by adding to the previous value which is stored in a box container).

            1 Reply Last reply Reply Quote 0
            • First post
              Last post