Func block charge: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (GIF caption; minor description update; note addition about incorrect FGD setup)
(Rephrasal of description and added a warning, all on Nescius's wishes)
Line 1: Line 1:
[[File:Func_block_charge.gif|320x200px|right|thumb|Click the GIF to animate it.]]
[[File:Func_block_charge.gif|320x200px|right|thumb|Click the GIF to animate it.]]
{{l4d2 brush|func_block_charge}} When within [[LOS]] of an AI Charger to its target's [[origin]], charging will not be attempted by the AI Charger. AI Chargers will however still run to its target and punch them if they desire.
{{l4d2 brush|func_block_charge}} It forbids an AI Charger to charge when obscuring LOS with targeted player. AI Chargers however will still run and punch at targets.


After a Hammer compile, this brush entity will be unsolid and invisible, like [[clip brush|clip brushes]].
{{warning|[[AABB]] is used for LOS obscuring, so clipping or rotating brushes does not change a brush's size as one expects.}}
{{note|The FGD of this entity is setup incorrectly!}}
{{note|The FGD entry is setup incorrectly!}}
{{clr}}
{{clr}}
== Keyvalues ==
== Keyvalues ==

Revision as of 14:05, 30 January 2022

File:Func block charge.gif
Click the GIF to animate it.

Template:L4d2 brush It forbids an AI Charger to charge when obscuring LOS with targeted player. AI Chargers however will still run and punch at targets.

Warning.pngWarning:AABB is used for LOS obscuring, so clipping or rotating brushes does not change a brush's size as one expects.
Note.pngNote:The FGD entry is setup incorrectly!

Keyvalues

Inputs

Outputs