CServerOnlyPointEntity
Jump to navigation
Jump to search
Code classes:
CServerOnlyPointEntity
CServerOnlyEntity
CBaseEntity
(all ents)
CServerOnlyPointEntity
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).
bool CServerOnlyPointEntity::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 );
}