This article's documentation is for anything that uses the Source engine. Click here for more information.

info_null

From Valve Developer Community
Jump to navigation Jump to search
Class hierarchy
CNullEntity
CBaseEntity
subs.cpp

info_null is a point entity available in all Source Source games.

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.

Warning.pngWarning:This entity still counts toward the edict limit for a split second until being automatically killed upon spawning. (fixed in Jabroni Brawl: Episode 3)
Cpp.pngCode Fix:Do one of the following:
AltNames.pngAltNames: In Mapbase Mapbase, this entity is also tied to func_null.

Keyvalues

Name (targetname) <string>
Name of this entity. Can be used by compile tools as a spotlight target or a prop_static's lighting origin.
Also displayed in Hammer's 2D views and Entity Report.

See Also