Template:KV ControlEnables: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Used in a fair amount of entities, I feel existence is warranted)
 
m (Formatting tricks)
 
Line 1: Line 1:
This is a Baseclass that is available in {{teamspen|4}}
This is a Baseclass that is available in {{teamspen|4}}
<onlyinclude>
<onlyinclude>{{ScrollBox|title=ControlEnables|noscroll=true|
{{ScrollBox|title=ControlEnables|noscroll=true|
{{KV|Control Type|intn=ctrl_type|choices|Controls how the Control Value is interpreted.}}
{{KV|Control Type|intn=ctrl_type|choices|Controls how the Control Value is interpreted.}}
:* 0 : Is Enabled?
:* 0 : Is Enabled?
Line 8: Line 7:
:* 0 : No
:* 0 : No
:* 1 : Yes
:* 1 : Yes
}}
}}</onlyinclude>
</onlyinclude>
[[Category:Keyvalue Templates|ControlEnables]]
[[Category:Keyvalue Templates|ControlEnables]]

Latest revision as of 08:32, 19 December 2023

This is a Baseclass that is available in TeamSpen's Hammer Addons TeamSpen's Hammer Addons

ControlEnables:
Control Type (ctrl_type) <choices>
Controls how the Control Value is interpreted.
  • 0 : Is Enabled?
  • 1 : Is Disabled?
Control Value (ctrl_value) <choices>
Decides whether this entity is enabled. If disabled, the entity has no effect.
  • 0 : No
  • 1 : Yes