WoutProvost/FCNPC-AI

Viewing angle

WoutProvost opened this issue · 1 comments

When the NPC is idle, don't aggro when the player is not within a certain viewing angle.
Default viewing angle should be 360.0 degrees.
This stat should specifically be used only when the encounter hasn't been started yet.

native FCNPC_SetAggroViewingAngle(npcid, playerid, Float:angle);
native Float:FCNPC_GetAggroViewingAngle(npcid, playerid);

Need a vertical viewing angle as well.