How to enable input for only specific characters?

anonymous_user_8842144f
Mon, 18 Jul 2016 14:12:23 +0000
Character & Animation

Hey all,

I was wondering if there is any way to assign specific actions only to specific characters.

For instance, I have an Action Mapping (“Interact”) that only one of the three characters in my game should be able to use. In this case, “Interact” happens when the M key is pressed.

I’m creating a single-player game where the player can assume control over any of the three characters in the game by respectively pressing the 1/2/3 key.
What happens now is that no matter which character the player has possession over, once the M key is pressed “Interact” always happens. So in this case, only character nr. 2 should be able to perform “Interact”.

Any help is appreciated

16 posts - 4 participants