Ai addon builder: Difference between revisions
Jump to navigation
Jump to search
(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 …') |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{stub}}{{clr}} | |||
{{portal2 point|ai_addon_builder}} | {{portal2 point|ai_addon_builder}} | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|NPC name|string|Name to give built NPCs}} | {{KV|NPC name|string|Name to give built NPCs}} | ||
{{KV|Add on name|string|Name to give built addons}} | {{KV|Add on name|string|Name to give built addons}} | ||
{{KV|NPC Points|integer|Points available to spend for NPCs}} | {{KV|NPC Points|integer|Points available to spend for NPCs}} | ||
{{KV|Addon Points|integer|Points available to spend for addons}} | {{KV|Addon Points|integer|Points available to spend for addons}} | ||
{{KV Targetname}} | |||
{{KV EnableDisable}} | |||
==Inputs== | ==Inputs== | ||
{{IO|Execute}} | |||
{{I Targetname}} | {{I Targetname}} | ||
{{I EnableDisable}} | {{I EnableDisable}} | ||
==Outputs== | ==Outputs== | ||
{{IO|OnCreateNpc|Fires when an NPC is created.}} | {{IO|OnCreateNpc|Fires when an NPC is created.}} | ||
{{IO|OnFailedToCreateNpc|Fires when an NPC fails to be created.}} | {{IO|OnFailedToCreateNpc|Fires when an NPC fails to be created.}} | ||
{{IO|OnCreateAddon|Fires when an Addon is created.}} | {{IO|OnCreateAddon|Fires when an Addon is created.}} | ||
{{IO|OnFailedToCreateAddon|Fires when an Addon fails to be created.}} | {{IO|OnFailedToCreateAddon|Fires when an Addon fails to be created.}} | ||
{{O Targetname}} |
Revision as of 00:40, 13 May 2011
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
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 the
Enable
input).
Inputs
- Execute
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
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.