I need a custom event that works like for example a shift key event. All i need on it is to have the “pressed” and “released” inputs. Like on the screenshot on the right is the “shift” and left i want my custom event to have the same inputs. . Is this possible ?
Create an INPUT ACTION MAPPING.
The same as you would if you were programming your character to jump.
I made one but i cant call this “enhanced input” as an extra custom event somewhere else where i need it to be a custom event or function.
This input action need to be able to be called as a custom event here. And this don’t work so far or i am doing it wrong:
Can i not use this “pressed” input where it looks like it should work but if i choose it the input look totaly different then on the real let’s say “shift key” “pressed” input…
So how can i make this last screenshot this input to work. That should work as it seems from reading the description of it but i don’t know how exactly.
Create an INPUT ACTION MAPPING.
The same as you would if you were programming your character to jump.
The pressed button event (first screenshot) is ok for my other skills where i need to tap or press 1 time the button and the skill executes (which works). What i try to achieve with this is a sprint skill where i have to press and hold the key down to sprint and it should stop sprinting when the key gets released and not holding it anymore.
I then tried the second screenshot but it only works if i define a key on my custom input action mapping. This kinda loses the purpose if i set there a predefined key. Without to set a key nothing happens unfortunatly. (When i drag a skill down it assigns a key normally where ever the skill is placed thats why any “custom events” aways work but the custom enhanced input action without assigning a key doesn’t for some reason) If i set in the enhanced input action a key then i could just keep the shift input in the first place but i need to get some custom event that register on pressed and on released and fire the code whitout pre defined key. Thats how my skills works. They get a key input when i drag a skill down to my action bar slots. So i’m not sure if i’m doing it wrong and do not fully understand the second screenshot you send me.