hi guys ,. not sure how tought this would be, but one thing I could use would be on the KeyPress component,. It would be nice to have;
OnPressed - one trigger till key released and pressed again
OnHeld - each update this is called
OnReleased - one trigger when key released
I am tring to code this functionality so the player can only use the gun OR the build beam in CCUG,. made a var: Held, set it to 0, then in the OnPressed for the first key, Z, Held=1; in the next KeyPressed for key X added a condition; return Held==0; and then a Held=0 in a seperate expression after that,. my thinking was that these events would be called in the order they appear in the editor,. however this is not working,. .
