Thread
:
Difference between edict and entity?
View Single Post
BAILOPAN
Developer
Join Date: Jan 2004
10-23-2010 , 22:06 Re: Difference between edict and entity?
#
2
Edicts are bits of state sitting as a bridge between the game and the engine. For example they assist in networking.
The reason SourceMod has "RemoveEdict()" is because before 1.3 or so, we only supported edict-backed entities, which have canonical indices maintained in the engine. The game also maintains its own list, and these entities (for example, logical entities) are not maintained in the engine's edict list. So they're much harder to get at, the engine doesn't care and there's no API for them.
SourceMod supports these now (via a backwards-compatible index encoding - pRED knows the details), so RemoveEdict() may just be an archaic name.
__________________
egg
BAILOPAN
View Public Profile
Send a private message to BAILOPAN
Visit BAILOPAN's homepage!
Find More Posts by BAILOPAN