Point script template

From Valve Developer Community
Revision as of 00:24, 19 March 2021 by Orinuse (talk | contribs) (turned things into templates)
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.

Template:L4d2 point It is point_template, but with internal elements of it readjusted for vscripts. point_template relies on the map file to function properly; Trying to spawn entities with point_template created by scripts will return that it has no templates, though it will still delete its own template entities.

Otherwise, this entity can be taken the same as working on a point_template entity, so the quirks such as point_template's name fixup behaviour, will need to be taken into account.

When compiling Entity Groups, point_template entities are converted to point_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

FGD Code

Todo: Script entities are seen in TLS .lmp files, so it may be wise to let mappers see it while inspecting them in Hammer.

See also