Logic script: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Starter article on logic_script)
 
mNo edit summary
Line 1: Line 1:
{{DISPLAYTITLE:logic_script}}
{{l4d2 point|logic_script}} It is an entity that acts as a container for scripts.
{{l4d2 point|logic_script}} It is an entity that acts as a container for scripts.


==KeyValues==
==KeyValues==


{{KV Targetname}}
;EntityGroup[0-15] Group00-Group15 <code><[[targetname]]></code>
;EntityGroup[0-15] Group00-Group15 <code><[[targetname]]></code>
:<target_destination>  
:<target_destination>  
{{KV Targetname}}


==Inputs==
==Inputs==
*{{I Targetname}}
 
{{I Targetname}}


==Outputs==
==Outputs==


* {{O Targetname}}
{{O Targetname}}
 
{{DISPLAYTITLE:logic_script}}

Revision as of 10:08, 11 February 2010

Template:L4d2 point It is an entity that acts as a container for scripts.

KeyValues

EntityGroup[0-15] Group00-Group15 <targetname>
<target_destination>
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

Inputs

Outputs