func_block_charge
Jump to navigation
Jump to search


![]() |
---|
CFuncBrush |
func_block_charge
is an e2 available in Left 4 Dead 2. Chargers won't charge at players to which line of sight is blocked by this entity.

Diagonal walls will always be ignored, ad it will take the furthest out corners of the diagonal walls and create one huge box around all of it. That box will be your brush entity.



Image demonstration
FGD Enhancement
Open steamapps\common\Left 4 Dead 2\bin\left4dead2.fgd
and replace the func_block_charge
section.
@SolidClass base(Targetname) = func_block_charge : "AI Chargers will not charge through this brush. (Based on AABB!)"
[
Solidity(integer) readonly : "Solidity" : 1 : "Should be always never solid"
]