FaceNPCToPlayer: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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 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.