Showtriggers toggle: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Gameplayer (talk | contribs) No edit summary  | 
				No edit summary  | 
				||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{  | {{screenshot}}  | ||
{{This is a|console command|name=showtriggers_toggle}} It is used to switch the visibility of [[:Category:CBaseTrigger|triggers derived from CBaseTrigger]]. (can also show {{ent|trigger_vphysics_motion}} and {{ent|trigger_transition}} which aren't derived from CBaseTrigger)  | |||
Entity classname can be specified as first parameter to choose which triggers' visibility to toggle (for example <code>showtriggers_toggle trigger_hurt</code>).  | |||
== ConVar showtriggers ==  | |||
There is also a cvar <code>showtriggers</code>. When set to 1 then trigger based entities will spawn in visible state. Their visibility can still be toggled by <code>showtriggers_toggle</code>.  | |||
== See Also ==  | |||
* [[CBaseTrigger]]  | |||
== External links ==  | |||
* tf2branch definition link{{todo}}  | |||
[[Category:CBaseTrigger]]  | |||
Latest revision as of 15:39, 31 May 2025
This article or section needs a screenshot to help visually convey the subject.
You can upload screenshots at Special:Upload. For help, see Help:Images.
You can upload screenshots at Special:Upload. For help, see Help:Images.
showtriggers_toggle  is a   console command  available in all 
 Source games. It is used to switch the visibility of triggers derived from CBaseTrigger. (can also show trigger_vphysics_motion and trigger_transition which aren't derived from CBaseTrigger)
Entity classname can be specified as first parameter to choose which triggers' visibility to toggle (for example showtriggers_toggle trigger_hurt).
ConVar showtriggers
There is also a cvar showtriggers. When set to 1 then trigger based entities will spawn in visible state. Their visibility can still be toggled by showtriggers_toggle.
See Also
External links
- tf2branch definition link[Todo]