Two types of "Use"
Posted: Thu Oct 06, 2022 10:52 am
Hi Tony, hope you are doing well.
What would be the best way to implement this kind of feature:
By tapping "F", something happens,
By pressing and holding "F", something else happens.
Ideally I would want to visualize both options for the player (for example Door "F to Open, Hold F to Lock"). I would also wish to visualize the pressing and holding by filling a bar or something.
I managed to "hack" my way through for now, but I was wondering if there would be more "Dialogue System-friendly" way of implementing this. So if you have any ideas, I would love to hear them.
Thank you in advance!
What would be the best way to implement this kind of feature:
By tapping "F", something happens,
By pressing and holding "F", something else happens.
Ideally I would want to visualize both options for the player (for example Door "F to Open, Hold F to Lock"). I would also wish to visualize the pressing and holding by filling a bar or something.
I managed to "hack" my way through for now, but I was wondering if there would be more "Dialogue System-friendly" way of implementing this. So if you have any ideas, I would love to hear them.
Thank you in advance!