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

Info null: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Altnames)
(This is pointless.You can as well use any other name you come up with if you add it to fgd.If you were for example loading a vscript in info_null via vscripts keyval you wouldn't be able to just change it to func_null and expect it to work outside mapbase)
Line 7: Line 7:
{{ModernImportant|Because this entity isn't removed on compile, it still counts toward the [[edict]] limit for a split second until being automatically [[kill]]ed upon spawning. {{in|text=fixed in|{{jbep3}}}}
{{ModernImportant|Because this entity isn't removed on compile, it still counts toward the [[edict]] limit for a split second until being automatically [[kill]]ed upon spawning. {{in|text=fixed in|{{jbep3}}}}
}}
}}
{{altnames|game={{mapbase|2}}|name1=[[func_null]]|misc=The alternative name can also be used regardless of if it actually exists in the specific game; see the dedicated page for more information.}}
{{altnames|game={{mapbase|2}}|name1=[[func_null]]}}


== Keyvalues ==
== Keyvalues ==

Revision as of 15:06, 11 August 2024

C++ Class hierarchy
CNullEntity
CBaseEntity
C++ 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.

Icon-Important.pngImportant:Because this entity isn't removed on compile, it still counts toward the edict limit for a split second until being automatically killed upon spawning. (fixed in Jabroni Brawl: Episode 3)
AltNames.pngAltNames: In Mapbase Mapbase, this entity is also tied to func_null.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

See Also