popcorn
Jump to navigation
Jump to search

popcorn
is a point entity available in Counter-Strike: Global Offensive.
Entity Description
It is something between a player and a bot.

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 |
---|---|---|---|---|---|---|---|---|---|---|
![]() |
popcorn | N/A | Yes | No | No | Yes | Yes | Yes | Yes, sadly | Use is discouraged. |
KeyValues
- 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
- 2 : ACT_WRITEVDCCONTENT
- 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
) !FGD
- Stay in quarantine until quarantine ends (with the
EndQuarantine
input).
- Entity Scripts (vscripts) <scriptlist> (in all games since
)
- 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
)
- 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:Try to avoid expensive operations in this function, as it may cause performance problems.
Flags
- Start at home : [1]
- Allow god : [2]
- Allow noclip : [4]
- Knows the result of 2^12 : [4096] (in all games since
)
- Knows the result of 2^16 : [65536] (in all games since
)
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
- Wake
- Wakes this entity up. This process can take a while or even fail.
- EndQuarantine (in all games since
) !FGD
- Allows this entity to move around freely.
Only Medics can fire this input.
Does not work for infected.
Trigger(removed since) !FGD
- Deprecated.
Triggers this entity, possibly causing a game crash.
Outputs
- OnFunny (in all games since
)
- Fired when this entity tries to be funny.