Logic script: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{l4d2 point|logic_script}} It is an entity that acts as a container for scripts. For example, the entity is used extensively for "carnival games" in the Dark Carnival campaign--''Peanut Gallery'', ''Strongman Contest'', ''Whack-a-Stach'' etc.
{{l4d2 point|logic_script}} It is an entity that acts as a container for scripts. For example, the entity is used extensively for "carnival games" in the Dark Carnival campaign--''Peanut Gallery'', ''Strongman Contest'', ''Whack-a-Stach'', etc.


==KeyValues==
==KeyValues==

Revision as of 08:06, 29 April 2010

Template:L4d2 point It is an entity that acts as a container for scripts. For example, the entity is used extensively for "carnival games" in the Dark Carnival campaign--Peanut Gallery, Strongman Contest, Whack-a-Stach, etc.

KeyValues

EntityGroup[0-15] Group00-Group15 <targetname>
<target_destination>
Note.pngNote:The array can be extended beyond 15 entities. Simply add additional Group## keys with SmartEdit turned off.
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

See also

External links