Point servercommand: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 20: Line 20:


==Outputs==
==Outputs==
*{{o targetname}}
*{{O Targetname}}

Revision as of 20:10, 19 January 2009

Template:Wrongtitle Template:Base point

Entity Description

An entity that issues commands to the server console. It's used by simply placing it in a map and triggering the Command input, the parameter override should be the exact console command to run.

This entity can corrupt the vmf file if used improperly. If your map crashes when you open it, this could be the problem. Open the vmf file in notepad and press Ctrl+F. Search for command and remove that line.

Availability

Template:In game Template:Game-base Template:In code

Keyvalues

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

  • Command <string>
The command to execute.

Outputs