Ai addon builder

From Valve Developer Community
Revision as of 00:52, 11 May 2011 by Barracuda (talk | contribs) (Created page with '{{portal2 point|ai_addon_builder}} ==Entity description== {{todo|add description}} ==Keyvalues== {{KV Targetname}} {{KV EnableDisable}} {{KV|NPC name|string|Name to give built …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Portal2 point

Entity description

Todo: add description

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

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
NPC name ([todo internal name (i)]) <string>
Name to give built NPCs
Add on name ([todo internal name (i)]) <string>
Name to give built addons
NPC Points ([todo internal name (i)]) <integer>
Points available to spend for NPCs
Addon Points ([todo internal name (i)]) <integer>
Points available to spend for addons

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.
Execute

Outputs

OnCreateNpc
Fires when an NPC is created.
OnFailedToCreateNpc
Fires when an NPC fails to be created.
OnCreateAddon
Fires when an Addon is created.
OnFailedToCreateAddon
Fires when an Addon fails to be created.