Info_null

Info_null

Classnames: info_null
Purpose: positional target for spotlights, `etc.'
H2 Code: misc.hc
Known function is as a target for spotlights. target_null will also work, but from looking at the code, I think info_null might remove itself from the map and therefore yield better performance (if you're a guru and know better, please sort me out). It sometimes appears in the Raven maps with an angle-field, but this doesn't seem to do anything.

In MP maps, it can take a spawnflag 1=DONT_REMOVE.

Fields

targetname Value is the target value for whatever is being aimed at the entity
spawnflags 1 = DONT_REMOVE: makes entity stick around after spawn_time (I don't actually know why this is useful, but it must be, or it wouldn't be there!)

Back to the list.