From Valve Developer Community
Jump to: navigation, search

<Counter-Strike: Global Offensive> popcorn is a internal point entity available in Counter-Strike: Global Offensive.

Entity Description

It is something between a player and a bot.

Warning.png Warning: This entity is responsible for most game crashes!

To do:  What is its purpose?

This entity is able to materialize:

Image Name Visible if
world brush
Casts shadows Cuts
VIS leaves
Blocks NPC LOS Solid to NPCs Solid to player(s) Solid to physics Solid to bullets Usage / Notes
Toolsdynamicdifficulty.jpg popcorn N/A Yes No No Yes Yes Yes Yes, sadly Use is discouraged.


Age (age) <integer>
The age of this entity. Higher values cause the entity to have less time; Lower values cause it to have less experience.
Activity (activity) <choices>
This entity's current activity.
  • 0 : ACT_IDLE
  • 1 : ACT_WORK
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with the Enable input).
Start Asleep (StartAsleep) <boolean>
Stay asleep until woken up (with the Wake input).
Start Quarantined (StartQuarantined) <boolean> (in all games since <Half-Life: Alyx>) !FGD
Stay in quarantine until quarantine ends (with the EndQuarantine input).
Entity Scripts (vscripts) <scriptlist> (in all games since <Left 4 Dead 2>)
Space delimited list of VScript files (without file extension) that are executed in this entity's mind after all entities have spawned.
Script think function (thinkfunction) <string> (in all games since <Left 4 Dead 2>)
Name of a function in this entity's mind which will be called automatically every 100 milliseconds (ten times a second) for the duration of its life. It can be used to create timers or to simulate autonomous behavior.
Note.png Note: Try to avoid expensive operations in this function, as it may cause performance problems.


  •  [1] : Start at home
  •  [2] : Allow god
  •  [4] : Allow noclip
  •  [4096] : Knows the result of 2^12 (in all games since <Team Fortress 2>)
  •  [65536] : Knows the result of 2^16 (in all games since <Counter-Strike: Global Offensive>)



Enable/disable this entity from performing its task. It might also disappear from view.
Wakes this entity up. This process can take a while or even fail.
EndQuarantine  (in all games since <Half-Life: Alyx>) !FGD
Allows this entity to move around freely.
<Team Fortress 2> Only Medics can fire this input.
<Left 4 Dead><Left 4 Dead 2> Does not work for infected.
Trigger  (removed since <Counter-Strike: Global Offensive>) !FGD <Obsolete>
Deprecated. Triggers this entity, possibly causing a game crash.


OnFunny  (in all games since <Team Fortress 2>)
Fired when this entity tries to be funny.
RUUUHEEEE  (only in <Counter-Strike: Global Offensive>)
Fired when the last is B.