CBaseEntity (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
Note:Spawnflag 2048 is hardcoded to never appear in deathmatch mode; this is handled engine-side, not in CBaseEntity, so it affects all entities, even if they don't inherit CBaseEntity. Therefore, avoid assigning this spawnflag to a different behavior if your mod supports multiplayer.
SirYodaJedi (talk | contribs) (Not sure why you wouldn't inherit CBaseEntity, but yeah, spawnflag 2048 is hardcoded.) |
SirYodaJedi (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
{{CDA|CBaseEntity (GoldSrc){{!}}CBaseEntity|file1=[https://github.com/ValveSoftware/halflife/blob/master/dlls/cbase.cpp cbase.cpp]}} | {{CDA|CBaseEntity (GoldSrc){{!}}CBaseEntity|file1=[https://github.com/ValveSoftware/halflife/blob/master/dlls/cbase.cpp cbase.cpp]}} | ||
{{stub}} | {{stub}} | ||
{{note|Spawnflag 2048 is hardcoded to never appear in {{cmd|deathmatch}} mode; this is handled engine-side, not in CBaseEntity, so it affects all entities, even if they don't inherit CBaseEntity.}} | {{note|Spawnflag 2048 is hardcoded to never appear in {{cmd|deathmatch}} mode; this is handled engine-side, not in CBaseEntity, so it affects all entities, even if they don't inherit CBaseEntity. Therefore, avoid assigning this spawnflag to a different behavior if your mod supports multiplayer.}} |
Latest revision as of 09:42, 29 April 2025
![]() |
---|
CBaseEntity defined in ![]() cbase.cpp
|
