Func block charge: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-removed obsolete tag and updated description)
(BaseEntity + GIF; GIF probably has not the best settings.)
Line 1: Line 1:
{{l4d2 brush|func_block_charge}} Acts like LOS blocker for charger. Charger won't start charging at a player when this entity is between them.
[[File:Func_block_charge.gif|320x200px|right]]
{{l4d2 brush|func_block_charge}} When within [[LOS]] of an AI Charger to its target, charging will not be attempted by the AI Charger. AI Chargers will however still run to its target and punch them if they desire.


After a Hammer compile, this brush entity will be unsolid and invisible, like [[clip brush|clip brushes]].
{{clr}}
== Keyvalues ==
== Keyvalues ==
{{KV func_brush inline}}
{{KV BaseEntity|l4d2=1}}
 
== Flags ==
{{Fl func_brush inline}}
 
When set this brush will ignore [[+use]]. <code>Use</code> inputs also won't work.


== Inputs ==
== Inputs ==
{{I func_brush}}
{{I BaseEntity|l4d2=1}}


== Outputs ==
== Outputs ==
{{O Targetname}}
{{O BaseEntity|l4d=1}}

Revision as of 08:21, 18 October 2021

Template:L4d2 brush When within LOS of an AI Charger to its target, charging will not be attempted by the AI Charger. AI Chargers will however still run to its target and punch them if they desire.

After a Hammer compile, this brush entity will be unsolid and invisible, like clip brushes.

Keyvalues

Inputs

Outputs