Logic script
Jump to navigation
Jump to search
![]() |
---|
CLogicScript |
Template:Entity It is also available in Team Fortress 2 and it the container for VScripts. In Left 4 Dead 2, for example, this entity is used extensively for the logic in "carnival games" found in the Dark Carnival campaign, such as Peanut Gallery, Strongman Contest, Whack-a-Stach, etc.
KeyValues
- EntityGroup[0] (Group00) to EntityGroup[15] (Group15) <targetname>
- Entities to add in the EntityGroup array for the script.

<string>
and thinkfunction <string>
, respectively.Inputs
Outputs
See also
External links
- It's the vscript'ing documentation FAQ! (Steam Forums)
- Scripting for Left 4 Dead 2 (Leeland.net) - Example uses of logic_script