From Valve Developer Community
Revision as of 09:38, 15 December 2018 by Darnias (talk | contribs) (Updated for CS:GO)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

info_player_terrorist is a point entity available in the following Source engine games: <Counter-Strike: Source> Counter-Strike: Source, <Counter-Strike: Global Offensive> Counter-Strike: Global Offensive.

Terrorist model in Counter-Strike Source.

Entity description

This entity is a spawn point for terrorists in Counter-Strike: Source and Counter-Strike: Global Offensive. One of these needs to be placed for each team member. A standard map should have between 16 and 32 spawn points. Should be placed at least 128 units away from each other and surrounding walls.



Name (targetname) <string>
The targetname that other entities refer to this entity by.
Entity Scripts (vscripts) <scriptlist> (in all games since <Left 4 Dead 2>)
Space delimited list of VScript files (without file extension) that are executed after all entities have spawned. The scripts are all executed in the same script scope, later ones overwriting any identical variables and functions.
Script think function (thinkfunction) <string> (in all games since <Left 4 Dead 2>)
Name of a function in this entity's script which will be called automatically every 100 milliseconds (ten times a second) for the duration of the script. It can be used to create timers or to simulate autonomous behavior. The return value (if present) will set the time until the next call.
Note.png Note: Try to avoid expensive operations in this function, as it may cause performance problems.


Pitch Yaw Roll (Y Z X) (angles) <angle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.


Spawn priority <integer>
Determines which spawn points get used first. Smaller numbers are used before larger numbers. (in all games since <Counter-Strike: Global Offensive>)
Enabled by default? <boolean>
Should this spawn be enabled by default? (in all games since <Counter-Strike: Global Offensive>)


Sets this spawn point as enabled. (in all games since <Counter-Strike: Global Offensive>)
Sets this spawn point as disabled. (in all games since <Counter-Strike: Global Offensive>)
Toggle the enabled/disabled state of this spawn point. (in all games since <Counter-Strike: Global Offensive>)

See also