Player use parachute
#1

Hi,

How to know when player use parachute i mean when i jump from mountain or building and when parachute expands.
Reply
#2

I doubt it is possible, you could try to get the player's holding weapon and match it with parachute then you could get the player's key state for action key(lmb on my sa) but then again it'd be a terrible system and it would engage even if the player hits lmb while being on foot.
Reply
#3

You can check his animations.
Reply
#4

Quote:
Originally Posted by Karan007
Посмотреть сообщение
You can check his animations.
And velocity (GetPlayerVelocity).
Reply
#5

Check player animation indexes,
If one of them matched the falling with parachute animation index,
Then player is falling with parachute...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)