FaceNPCToPlayer: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Welcome| desc=This will make the npc turn towards another player| params=<syntaxhighlight lang="lua">( playerid )</syntaxhighlight> <poem>::player: The ID of the player whom...") |
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. | |||
relfuncs=*[[SetMyFacingAngle]]| | relfuncs=*[[SetMyFacingAngle]]| | ||
*[[GetMyFacingAngle]] | *[[GetMyFacingAngle]] | ||
}} | }} |
Revision as of 20:11, 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.
relfuncs=*SetMyFacingAngle