CLogicalEntity
Jump to navigation
Jump to search
Code classes:
CLogicalEntity
CServerOnlyEntity
CBaseEntity
(all ents)
"We're still not sure what that does."
|
CLogicalEntity
is a code class with no unique keyvalues, inputs, outputs, or flags. All it seems to do is prevent you from specifying minimum and maximum bounds on the entity (forcing the volume to be 0). A code comment says entities inheriting this class have no position in the world, but this is false.
bool CLogicalEntity::KeyValue( const char *szKeyName, const char *szValue )
{
if ( FStrEq( szKeyName, "mins" ) || FStrEq( szKeyName, "maxs" ) )
{
Warning("Warning! Can't specify mins/maxs for point entities! (%s)\n", GetClassname() );
return true;
}
return BaseClass::KeyValue( szKeyName, szValue );
}