Template:KV NavBlocker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (INTERNAL NAMES + recheck breakables needs some more info)
mNo edit summary
Line 7: Line 7:
{{KV|Affects Flow?|boolean|intn=affectsFlow|Does this func_nav_blocker block flow in the level? Only func_nav_blockers with this enabled will cause flow recomputation on blocking/unblocking.}}
{{KV|Affects Flow?|boolean|intn=affectsFlow|Does this func_nav_blocker block flow in the level? Only func_nav_blockers with this enabled will cause flow recomputation on blocking/unblocking.}}
{{warning|{{l4d}}{{l4d2}} If this is active and the func_nav_blocker fully blocks the path to the end goal (e.g. Saferooms), this will screw over the map's flow entirely.}}
{{warning|{{l4d}}{{l4d2}} If this is active and the func_nav_blocker fully blocks the path to the end goal (e.g. Saferooms), this will screw over the map's flow entirely.}}
{{KV|Recheck Breakables|boolean|intn=teamToBlock|Appears to respond to any changes to breakables, even though a<code>BlockNav</code>/<code>UnblockNav</code> input is fired anyways from the breakable prop anyway.|deprecated=1|only=Counter-Strike:Source}}
{{KV|Recheck Breakables|boolean|Appears to respond to any changes to breakables, even though a<code>BlockNav</code>/<code>UnblockNav</code> input is fired anyways from the breakable prop anyway.|deprecated=1|only=Counter-Strike:Source}}


{{KV BaseEntity|l4d2=1}}
{{KV BaseEntity|l4d2=1}}

Revision as of 13:05, 16 March 2021

NavBlocker:
Team(s) to block (teamToBlock) <choices>
Team(s) this entity should block
  • -1 : Everyone
  • 2 : Left 4 DeadLeft 4 Dead 2 Survivors, Counter-Strike: Global Offensive Terrorists
  • 3 : Left 4 DeadLeft 4 Dead 2 Infected, Counter-Strike: Global Offensive Counter-Terrorists


Affects Flow? (affectsFlow) <boolean>
Does this func_nav_blocker block flow in the level? Only func_nav_blockers with this enabled will cause flow recomputation on blocking/unblocking.
Warning.pngWarning:Left 4 DeadLeft 4 Dead 2 If this is active and the func_nav_blocker fully blocks the path to the end goal (e.g. Saferooms), this will screw over the map's flow entirely.
Recheck Breakables ([todo internal name (i)]) <boolean> (only in Counter-Strike:Source) Obsolete
Deprecated.
Appears to respond to any changes to breakables, even though aBlockNav/UnblockNav input is fired anyways from the breakable prop anyway.


Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
Warning.pngWarning:Enabled/Disabled state does not prevent blocking or unblocking NAV areas.