Logic script: Difference between revisions
Jump to navigation
Jump to search
Note:The array can be extended beyond 15 entities, simply add additional Group## keys with SmartEdit turned off
TomEdwards (talk | contribs) mNo edit summary |
ThaiGrocer (talk | contribs) mNo edit summary |
||
Line 5: | Line 5: | ||
;EntityGroup[0-15] Group00-Group15 <code><[[targetname]]></code> | ;EntityGroup[0-15] Group00-Group15 <code><[[targetname]]></code> | ||
:<target_destination> | :<target_destination> | ||
{{Note|The array can be extended beyond 15 entities, simply add additional Group## keys with SmartEdit turned off}} | |||
{{KV Targetname}} | {{KV Targetname}} | ||
Line 16: | Line 17: | ||
{{DISPLAYTITLE:logic_script}} | {{DISPLAYTITLE:logic_script}} | ||
==See also== | |||
*[[L4D2 Vscripts]] | |||
*[[Trigger_finale|trigger_finale]] | |||
*[[Info_director|info_director]] | |||
*[[Left_4_Dead_2_Tool_Updates|Left 4 Dead 2 Tool Updates]] | |||
==External links== | |||
*[http://forums.steampowered.com/forums/showthread.php?t=1238461 It's the vscript'ing documentation FAQ! (Steam Forums)] | |||
*[http://forums.steampowered.com/forums/showthread.php?t=1242468 Tutorial - Writing a Mini Game - Tic Tac Toe - Part One (Steam Forums)] - An excellent scripting example that uses logic_script to create a tic-tac-toe game with a difficult AI. |
Revision as of 06:59, 29 April 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
ortarget
).
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
- It's the vscript'ing documentation FAQ! (Steam Forums)
- Tutorial - Writing a Mini Game - Tic Tac Toe - Part One (Steam Forums) - An excellent scripting example that uses logic_script to create a tic-tac-toe game with a difficult AI.