Hey, when dealing with instant abilities a player can hold down the hotkey and the ability will continue to spam itself really fast. Is there a way to prevent this from happening without adding a cost or cooldown?
Hi, thanks for reply. Basically, I do not want any kind of cooldown or cost requirement because it is an ability that should be capable of being cast as fast as humanly possible and never have any downtime between when it can be cast. The problem with that is someone can simply hold down the button and it will keep casting. This alone isn't a problem, however this will most likely cause a lot of lag since its firing 30+ times per second. I am aware this is a weird issue to have that most people would not worry about, but I basically need it to only cast when the hotkey is pressed rather than cast while its pressed and have yet to figure anything out to alter this in data editor since it needs to be 100% pure data editor.
Figured it out. It's under Game UI Data called "(Basic) UI: Command Hotkey Repeat Ignored". Enabled prevents you from repeatedly casting abilities holding hotkey down.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey, when dealing with instant abilities a player can hold down the hotkey and the ability will continue to spam itself really fast. Is there a way to prevent this from happening without adding a cost or cooldown?
Thanks
@flyingspatula: Go
why no costs? just add charge costs 1 use , max 1 and regenerate charges over 0,5 seconds (or whatever value you like to have)
You could disable the ability with a timed buff tho it might hide it; but again as funky mentioned what issues is there with a cooldown?
Hi, thanks for reply. Basically, I do not want any kind of cooldown or cost requirement because it is an ability that should be capable of being cast as fast as humanly possible and never have any downtime between when it can be cast. The problem with that is someone can simply hold down the button and it will keep casting. This alone isn't a problem, however this will most likely cause a lot of lag since its firing 30+ times per second. I am aware this is a weird issue to have that most people would not worry about, but I basically need it to only cast when the hotkey is pressed rather than cast while its pressed and have yet to figure anything out to alter this in data editor since it needs to be 100% pure data editor.
Thanks
Figured it out. It's under Game UI Data called "(Basic) UI: Command Hotkey Repeat Ignored". Enabled prevents you from repeatedly casting abilities holding hotkey down.