Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
could somebody write a simple script where if say you pressed a button it would do an action but instead of being able to spam that action it would wait however many milliseconds and then it would if the button is pressed again do that action if however much time has passed please |
||||
|
https://www.ambiera.com/forum.php?t=8967 With this code action will executed one time .. you can execute action on keyDown or even keyUp |
||||
|
Hi you can do this with visual scripting example when key is pressed 1)if variable key > 60 for example .. execute action 2) set variable key to 0 every 1ms depending on the time you want add 1 to key variable this will restrict the action being made every 1 sec |
|