AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Number of Edicts? (https://forums.alliedmods.net/showthread.php?t=56805)

Humming Bird 06-21-2007 13:42

Number of Edicts?
 
Is there anyway to monitor the number of edicts with AMXX? We're trying to debug this HL1 mod which gets a lot of free edict errors.

Drak 06-21-2007 14:37

Re: Number of Edicts?
 
Code:
new iNum = engfunc(EngFunc_NumberOfEntities) // Get's the current Ent's active new iMax = global_get(glb_maxEntities) // Get's the limit

Fakemeta way.

Humming Bird 06-21-2007 14:55

Re: Number of Edicts?
 
But, thats only counting entities? And I think that not all edicts are entities?

Drak 06-21-2007 14:59

Re: Number of Edicts?
 
Well i noticed, when setting the limit of edicts "-max_edicits" ( don't remember )
Whatever that's set as, is the max entities. So, in terms. I would assume, edicts are entities.

XxAvalanchexX 06-21-2007 15:08

Re: Number of Edicts?
 
No free edicts usually comes from spawning a mass of entities all at once.


All times are GMT -4. The time now is 21:28.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.