Vgui neurotoxin countdown: Difference between revisions
Jump to navigation
Jump to search
Note:Portal 2 does not automatically hurt/kill the player when the timer reaches 0. Use a point_hurt instead.
(not logical, its position is quite relevant) |
|||
Line 6: | Line 6: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV|Countdown|integer|Time (in seconds) to countdown.|since=P2}} | {{KV|Countdown|intn=countdown|integer|Time (in seconds) to countdown.|since={{P2}}}} | ||
{{KV|Panel width|intn=width|integer|Width of the panel in units.}} | {{KV|Panel width|intn=width|integer|Width of the panel in units.}} | ||
{{KV|Panel height|intn=height|integer|Height of the panel in units.}} | {{KV|Panel height|intn=height|integer|Height of the panel in units.}} |
Latest revision as of 17:07, 13 May 2025
![]() |
---|
CNeurotoxinCountdown |
vgui_neurotoxin_countdown
is a point entity available in Portal series. It is a neurotoxin countdown display. In Portal, the time to countdown (in seconds) is set by using the startneurotoxins console command. In Portal 2, it is set with the countdown KeyValue.

Keyvalues
- 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
- Panel width (width) <integer>
- Width of the panel in units.
- Panel height (height) <integer>
- Height of the panel in units.
Inputs
- Enable
- Make slideshow visible.
- Disable
- Make slideshow invisible.