#(plasmatm) How to detect & block "hold right click" from working for a timed ability

13 messages · Page 1 of 1 (latest)

elder star
#

I've noticed that if you hold right click, it seems to just trigger the "on player right clicks block" event every tick, but the same would happen if you just click very fast, so I can't use timings.

Thus I cannot figure out a way to have a timed right click ability, that cannot be triggered indefinitely by just holding right click? I would be open to using a different button press/event for triggering an ability, if anyone has ideas for how I can stop it from being triggered every x seconds when you just hold the button down.

bold trenchBOT
#

(plasmatm) How to detect & block "hold right click" from working for a timed ability

bold trenchBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

lavish abyss
#

you'll find that it's kind of hard to mimic holding down the right mouse button and repeating that the exact same duration of time each time, though

#

So instead of flagging and repeating that flag every time it triggers you can also check if it was triggered faster than a right mouse hold click would be

plain relic
#

If someone really wants to sit there spamming their mouse button instead of holding it down, I don't see why it matters?

elder star
lavish abyss
neat bloomBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@elder star