Template:KV BaseActbusyGoal: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
(Cleanup)
Line 1: Line 1:
{{KV Targetname}}
{{KV Targetname}}
* '''actor'''
 
: <target_name_or_class> Actor(s) to affect - The targetname or classname of any NPCs that is to act busy. Wildcards are supported.
{{KV|Actor|target_name_or_class|Actor(s) to affect - The targetname or classname of any NPCs that is to act busy. Wildcards are supported.}}
* '''StartActive'''
 
: <boolean> Start Active
{{KV|StartActive|bool|Start Active.}}
* '''SearchType'''
 
: <choices> Search Type - What type of targetname the ''actor'' keyvalue is refering to.
{{KV|SearchType|choices|Search Type - What type of targetname the ''actor'' keyvalue is refering to.}}
:{|
:* 0 : Entity Name
!Literal value!!Description
:* 1 : Classname
|-
 
| 0 || Entity Name
{{KV|BusySearchrange|float|Search Range for Busy Hints - Maximum distance between an actbusy hint and NPC for the NPC to consider it.}}
|-
 
| 1 || Classname
{{KV|VisibleOnly|bool|Visible Busy Hints Only - If set, an NPC will only consider actbusy hints in view when deciding which to use. Once the choice has been made it will not change, even if new hints become visible.}}
|}
* '''busysearchrange'''
: <float> Search Range for Busy Hints - Maximum distance between an actbusy hint and NPC for the NPC to consider it.
* '''visibleonly'''
: <boolean> Visible Busy Hints Only - If set, an NPC will only consider actbusy hints in view when deciding which to use. Once the choice has been made it will not change, even if new hints become visible.

Revision as of 16:35, 3 February 2012

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


Actor ([todo internal name (i)]) <target_name_or_class>
Actor(s) to affect - The targetname or classname of any NPCs that is to act busy. Wildcards are supported.


StartActive ([todo internal name (i)]) <boolean>
Start Active.


SearchType ([todo internal name (i)]) <choices>
Search Type - What type of targetname the actor keyvalue is refering to.
  • 0 : Entity Name
  • 1 : Classname


BusySearchrange ([todo internal name (i)]) <float>
Search Range for Busy Hints - Maximum distance between an actbusy hint and NPC for the NPC to consider it.


VisibleOnly ([todo internal name (i)]) <boolean>
Visible Busy Hints Only - If set, an NPC will only consider actbusy hints in view when deciding which to use. Once the choice has been made it will not change, even if new hints become visible.