Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[TF2] [VScript] Expose `engine->GetEntityCount()`

Open Marioiscool246 opened this issue 1 year ago • 1 comments

Since TF2 has a low edict count compared to other modern source games, having access to this to function is useful when creating entities with vscript. For example, spawning non essential entities through vscript for the purpose of effects such as sparks, decals, or something like trigger_particle can be skipped if there's already too many edicts that are active, preventing a server crash.

Marioiscool246 avatar Oct 07 '24 13:10 Marioiscool246

Great idea.

worMatty avatar Oct 09 '24 14:10 worMatty