How to apply animation when shot in leg
#6

If the player tries to jump or sprint and has been shot in the leg(use a variable for this, make sure you clear it when they're not supposed to limp anymore), apply the animation. You can detect this in OnPlayerKeyStateChange.

KEY_JUMP, KEY_SPRINT
Reply


Messages In This Thread
How to apply animation when shot in leg - by AndreiWow - 27.08.2016, 00:35
Re: How to apply animation when shot in leg - by Shinja - 27.08.2016, 00:37
Re: How to apply animation when shot in leg - by AndreiWow - 27.08.2016, 00:58
Re: How to apply animation when shot in leg - by Shinja - 27.08.2016, 01:07
Re: How to apply animation when shot in leg - by AndreiWow - 27.08.2016, 01:11
Re: How to apply animation when shot in leg - by Abagail - 27.08.2016, 01:18
Re: How to apply animation when shot in leg - by Shinja - 27.08.2016, 01:19
Re: How to apply animation when shot in leg - by AndreiWow - 27.08.2016, 08:18

Forum Jump:


Users browsing this thread: 1 Guest(s)