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.
Note:Portal 2 does not automatically hurt/kill the player when the timer reaches 0. Use a point_hurt instead.
		
	
| m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |  (document bug I discovered in PEE) | ||
| Line 1: | Line 1: | ||
| {{this is a|point entity|series=Portal|name=vgui_neurotoxin_countdown}} It is a neurotoxin countdown display. In ''Portal'', the time to countdown (in seconds) is set by using the {{ent|startneurotoxins}} console command. In ''Portal 2'', it is set with the countdown KeyValue. | {{this is a|point entity|series=Portal|name=vgui_neurotoxin_countdown}} It is a neurotoxin countdown display. In ''Portal'', the time to countdown (in seconds) is set by using the {{ent|startneurotoxins}} console command. In ''Portal 2'', it is set with the countdown KeyValue. | ||
| {{note|''Portal 2'' does not automatically hurt/kill the player when the timer reaches 0. Use a {{ent|point_hurt}} instead.}} | {{note|''Portal 2'' does not automatically hurt/kill the player when the timer reaches 0. Use a {{ent|point_hurt}} instead.}} | ||
| {{bug|The game will crash on Linux if a timer attempts to display a very large value. Since large values such as <code>99999</code> are often used in {{portal|3}} to effectively disable neurotoxin, you will need to ensure the displays are always turned off while the value is this high.}} | |||
| ==Keyvalues== | ==Keyvalues== | ||
Revision as of 21:38, 23 July 2024
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.
 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.
 Note:Portal 2 does not automatically hurt/kill the player when the timer reaches 0. Use a point_hurt instead.
Note:Portal 2 does not automatically hurt/kill the player when the timer reaches 0. Use a point_hurt instead.Keyvalues
- Countdown ([todo internal name (i)])  <integer> (in all games since  ) )
- Time (in seconds) to countdown.
- 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.
