Check if a player is behind a player
#11

Quote:
Originally Posted by Grand_Micha
View Post
The most precise reading you would get by checking for the animation index of the "knifing," then setting a boolean and a timer which will check if the target is dead and next to the killer. Oh well, have fun with your wasted resources, in case you choose this way.

Edit: Sigh. This function returns two values with the help of the ampersand symbols. First, you get the playerpos. Then you get their facing angle and then you get the sin and cos of x and y respectively. As to why you do....ever heard of sohcahtoa?
Can you just give me an example of this code under OnPlayerDeath? Some of your words are too complicated for me.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)