BenBlazing's Recent Forum Activity

  • oh thank you. Got it working now

  • I have tried it, but I can still spam the button to deplete my character's health. Did I do something wrong?

  • So in my previous post, I asked for help with setting up RNG Odds that have diminishing returns on each press and have the button locked once the number hits 0. This works perfectly and I now have it assigned to a health system and an animation plays on a character whenever the button is played. However, I find the system exploitable and easily spamable. Is there a way of having the button temporarily disabled while the animation is playing and then, once finished, you can then click on the button again?

    For reference, this is what my event sheet looks like:

  • Oh my god thank you so much!

  • I have 5 buttons that use the same sprite and they have UID Instance Variable as seen in this screenshot and previous ones. When the number the Odds number hits 0 for one of the buttons, it stays 0 for the rest. How do I make it so that each of the buttons are unique where I can click on each of them Ten times and each of them goes from 100 to 0.

  • Okay. Got it working thank you. I was very confused as I have never used a Browser object before so I was very confused on what the first guy was trying to tell me.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Is this correct?

  • Okay I got that working, but how do I then get it so that odds get smaller on each click until it basically hits 0 and then does nothing when you press the button? Also is there a way to change the rolls into whole numbers instead of decimals?

  • Again, the results always come out as 0 or 1 when the variable is set to Random(100)<50. So it doesn't make a difference. Also how can you set something as true or false when the variable isn't a Boolean?

  • When writing random(100)<50 the odds come out as either 0 or 1 and not between 0 or 100. Not having the <50 seems to be working out although the numbers come out as decimals. So I don't know if they're subtracting from the variable or not.

  • I gave it a go and I couldn't really understand it

  • ah thank you

BenBlazing's avatar

BenBlazing

Member since 14 Oct, 2019

None one is following BenBlazing yet!

Trophy Case

  • 5-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

8/44
How to earn trophies