info_null
Jump to navigation
Jump to search
| CNullEntity |
info_null is a point entity available in all
GoldSrc games. It will automatically remove itself on spawn. Primarily used as a spotlight target.
- If this is a multiplayer map, use spawnflag 2048 ("Not in Deathmatch"). This spawnflag is parsed by the engine before the entity has a chance to spawn.
- If this is a singleplayer map, add a non-existent entity (ex: info_target_null) to the FGD and use that to prevent the entity from being networked, as it gets discarded as an unknown entity when it tries to spawn.
Key Values
- Name (targetname) <string>
- The targetname that other entities refer to this entity by.