logic_navigation
Jump to navigation
Jump to search
Code classes:
CLogicNavigation
CLogicalEntity
CServerOnlyEntity
CBaseEntity
(all ents)
logic_navigation
is a point entity present in all Source games. This entity forces an object to be ignored by NPCs while walking. Useful for making NPCs ignore small objects (which they should be doing automatically, but sometimes fail to do), or to make one crash through something! Only usable in .
Flags[edit | edit source]
- 1: Start On - Targeted entities will be ignored the moment they spawn.
Keyvalue[edit | edit source]
- Navigation Entity
(target)
<target_destination>
- Entities to make ignored. To do: Are wildcards allowed?
- Nav Property
(navprop)
<choices>
- Originally, this entity would be able to set multiple different properties related to navigation, but no other ones were implemented. This keyvalue still exists because without it, the entity does not know what to do.
Inputs[edit | edit source]
- TurnOn
- Makes the entities be ignored.
- TurnOff
- Makes the entities not be ignored.
- Toggle
- Switches the entities to their opposite "ignored" state.