Info null: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:info_null}}
{{EntityTabs|Info null|goldsrc=1|source=1|main=source}}
{{EntityTabs|Info null|goldsrc=1|source=1|main=source}}
{{CD|CNullEntity}}
{{CD|CNullEntity}}

Revision as of 14:47, 6 August 2023

Template:EntityTabs

C++ Class hierarchy
CNullEntity
CBaseEntity

Template:Entity

It is removed as soon as it spawns. It is primarily useful as a target for pointing lights at. Another possibility is to use it during map development as a way of keeping location-based notes within the VMF file, using the entity's comments box.

Because this entity isn't removed on compile, it still counts toward the entity limit until removed on map spawn.