FaceNPCToPlayer: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
<poem>::player: The ID of the player whom to turn towards to. | <poem>::player: The ID of the player whom to turn towards to. | ||
</poem>| | </poem>| | ||
retvals= True, if function succeeds. False, if the specified player is not connected or it's | retvals= True, if function succeeds. False, if the specified player is not connected or it's not int PLAYER_STATE_ONFOOT.| | ||
relfuncs=*[[SetMyFacingAngle]]| | relfuncs=*[[SetMyFacingAngle]]| | ||
*[[GetMyFacingAngle]] | *[[GetMyFacingAngle]] | ||
}} | }} |
Latest revision as of 21:22, 24 November 2022
Description:
This will make the npc turn towards another player
Parameters:
( playerid )
player: The ID of the player whom to turn towards to.
Return Values:
True, if function succeeds. False, if the specified player is not connected or it's not int PLAYER_STATE_ONFOOT.
Related Functions
The following functions may be helpful as they relate to this function in one way or another.