This article's documentation is for anything that uses the Source engine. Click here for more information.

Showtriggers toggle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{this is a|console command|name=showtriggers_toggle}} It is used to switch the visibility of [[:Category:CBaseTrigger|trigger based entities]].
{{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>).
Entity classname can be specified as first parameter to choose which triggers' visibility to toggle (for example <code>showtriggers_toggle trigger_hurt</code>).
Line 5: Line 5:
== See Also ==
== See Also ==
* [[CBaseTrigger]]
* [[CBaseTrigger]]
* [[showtriggers]]
* {{cmd|showtriggers}}


[[Category:CBaseTrigger]]
[[Category:CBaseTrigger]]

Revision as of 08:24, 26 April 2025

showtriggers_toggle is a console command available in all Source 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).

See Also