Point script template

From Valve Developer Community
Revision as of 03:13, 14 April 2021 by Orinuse (talk | contribs) (changed up the description and the not in fgd template. Also removed fgd todo note, since it seemed unneeded)
Jump to navigation Jump to search
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because point_template already is an accessible option.

Template:L4d2 point It is point_template, but with internal elements of it readjusted for vscripts. Specifically,point_templaterelies on compiled data from the map file to function properly, as trying to spawn entities withpoint_templatecreated by scripts will return that it has no templates, even though it still can delete its own template entities.

Otherwise, this entity can be taken the same as working on apoint_templateentity, so things like name fixup behaviour quirks may still need to be taken into account.

When compiling Entity Groups,point_template entities are converted topoint_script_template.

Keyvalues

Template 1 (Template01) to Template 16 <targetname>
Targetname(s) to search for entities to template. These can be exact matches, or wildcards (*). If multiple entities are matched, all entities will be included in the template.


Flags

Template:Fl PointTemplate

Inputs

ForceSpawn
Spawn an instance of the template at the original position.


Outputs

Template:O PointTemplate

See also