Trigger brush: Difference between revisions
Jump to navigation
Jump to search
Note:The brush is fully solid unlike other trigger entities.
Note:The player events (such as
(This entity is now fully obsolete, due to the fact that the player events work for all entities and not just this one (making its purpose useless)) |
Deprecated (talk | contribs) m (Changed obsolete template) |
||
Line 1: | Line 1: | ||
{{obsolete}} | {{obsolete|entity=1}} | ||
{{ent not in fgd}} | {{ent not in fgd}} | ||
{{base_brush|trigger_brush}} Deprecated entity during the development of Half Life 2 Beta, it's sole difference compared to other entities is that a <code>OnUse</code> output exists. | {{base_brush|trigger_brush}} Deprecated entity during the development of Half Life 2 Beta, it's sole difference compared to other entities is that a <code>OnUse</code> output exists. |
Revision as of 11:24, 9 June 2019

This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
Template:Base brush Deprecated entity during the development of Half Life 2 Beta, it's sole difference compared to other entities is that a OnUse
output exists.


game_playerdie
) are useable by all entities and not just by this entity, despite common misconception. The list of those is now available on the Targetname page.FGD Code
@SolidClass base(Targetname, Parentname, Global, EnableDisable) = trigger_brush [ input Use(void) : "Fires the OnUse output." output OnUse(void) : "Fired when the Use input is given." ]
Keyvalues
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
- OnUse
- Fired when the
Use
input is given.