Raised This Month: $ Target: $400
 0% 

Difference between edict and entity?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BAILOPAN
Join Date: Jan 2004
Old 10-23-2010 , 22:06   Re: Difference between edict and entity?
Reply With Quote #1

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
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:08.


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