How to get a coordinate of the smoke grenade?
#1

How can I get the coordinate of a smoke grenade tossed out? (thrown)
Reply
#2

You can't. You should create a little formula which involves how long the player held the key down and then use the result of the formula as the distance parameter in GetDistanceFromPlayer. I don't have a link to the GetDistanceFromPlayer function right now but it gets a point in front of the player.
Reply
#3

It will also matter with what angle is the player looking,they might be looking up so the nade will go higher,or it can be looking down,it will not fly that much. Its kinda hard I see
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)