View Single Post
BAILOPAN
Join Date: Jan 2004
Old 10-23-2010 , 22:06   Re: Difference between edict and entity?
Reply With Quote #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 is offline