Accessing PVS?! Searching for something like is_ent_in_pvs(ent,Float:origin[3])
Is there a way to access entities within the PVS of another entity or origin? A closer look at the HLSDK didn't actually reveal more than these engfuncs also seen in fakemeta:
Code:
EngFunc_FindClientInPVS, // edict) (edict_t *pEdict);Code:
bool:is_ent_in_pvs(ent,Float:origin[3]) orCode:
ent = find_ent_in_pvs(ent,Float:origin[3]) orThis would significantly improve the performance when eg. a custom entity has to think and thus runs a rather extensive check on all entities in line of sight, as most would be filtered out anyway. Also this would give more control over sending messages just to certain players in PVS as opposed to using MSG_PVS. |
Re: Accessing PVS?! Searching for something like is_ent_in_pvs(ent,Float:origin[3])
AFAIK here is nothing you can do since there are no "*PVS* from origin" HL Engine functions.
|
| All times are GMT -4. The time now is 22:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.