Is there a way to accurately retrieve the player's current FOV in ACS?
GetCVar("fov") doesn't work because, understandably, fov isn't a cvar.
// [Nash] get current FOV
case ACSF_GetPlayerFOV:
actor = SingleActorFromTID(args[0], activator);
if (actor != NULL)
{
if (actor->player != NULL)
{
return (int)actor->player->FOV;
}
}
else return 0;
Users browsing this forum: No registered users and 1 guest