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 state is not PLAYER_STATE_ONFOOT. | retvals= True, if function succeeds. False, if the specified player is not connected or it's state is not PLAYER_STATE_ONFOOT.| | ||
relfuncs=*[[SetMyFacingAngle]]| | relfuncs=*[[SetMyFacingAngle]]| | ||
*[[GetMyFacingAngle]] | *[[GetMyFacingAngle]] | ||
}} | }} |
Revision as of 20:12, 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 state is not PLAYER_STATE_ONFOOT.
Related Functions
The following functions may be helpful as they relate to this function in one way or another.