Help with angles ?
#1

Hey, i've been trying to do this for a long time now, and still cant figure it out. Can someone help me find a way to get my npc to face the clostest player in the area (already have a function to get the closest player).

I have no idea how to do this, can someone show me an example/explain how to go about doing it ?
Reply
#2

There is a function called SetPlayerFacingPlayer that someone made, check in a_angles.inc.
Reply
#3

Quote:
Originally Posted by [HiC
TheKiller ]
There is a function called SetPlayerFacingPlayer that someone made, check in a_angles.inc.
I was about to get mad and question if you knew what you were talking about, but i actually found an a_angle.inc lol.

Ty for your help m8 !

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)