Check active with KM
Posted: Tue Feb 12, 2019 8:01 pm
Hi all,
I have troubles with scripting check actives on keyboard/mouse Inputs.
I did it with binding the mouse Button to a unused Controller input, because check active on mouse directly didn't work.
What is a good way to make check actives with mouse/keyboard Keys?
Ingame Situation : I wanna create a Script for when I Hold a mouse Button, first it press right pad ps4 once, if I Continue to hold it for about 2 seconds (ingame time for switching to grenade), Script starts to hold down r2 (throw /Cook grenade) until I Release mouse Button (then Releases r2).
I could only achieve this until now by binding the mouse Button to an unused Controller Button and then srt check active to this one, but on the New Script there is no unused controller Button.
Best Regards
I have troubles with scripting check actives on keyboard/mouse Inputs.
I did it with binding the mouse Button to a unused Controller input, because check active on mouse directly didn't work.
What is a good way to make check actives with mouse/keyboard Keys?
Ingame Situation : I wanna create a Script for when I Hold a mouse Button, first it press right pad ps4 once, if I Continue to hold it for about 2 seconds (ingame time for switching to grenade), Script starts to hold down r2 (throw /Cook grenade) until I Release mouse Button (then Releases r2).
I could only achieve this until now by binding the mouse Button to an unused Controller Button and then srt check active to this one, but on the New Script there is no unused controller Button.
Best Regards