WhereIsPlayer
Jump to navigation
Jump to search
Description:
Consider the situation in which a player is near to npc. This function gives an angle in radians relating to the position of the player.
Parameters:
NoParams
Return Values:
The angle from where the npc is facing towards to where the player is. 0 means player is infront. Positive values means player is to the left of npc and negative values indicate he is on the right side. Values range from -PI to PI.