This article's documentation is for anything that uses the Source engine. Click here for more information.

ai_network

From Valve Developer Community
Jump to: navigation, search
Info.png
This entity is not in the FGD by default .
It should not be put directly in a map because it is handled automatically by the game. Adding another will do nothing.

ai_network is a point entity available in all Source Source games except Left 4 Dead series Left 4 Dead series.

English (en)
Edit
class hierarchy
CAI_NetworkManager defined in ai_networkmanager.cpp
CPointEntity
CBaseEntity

It is a vital entity to all NPC and AI functions that is created every map load. If you were to Kill it in the game, NPCs would freeze up entirely - no speech, no animations, no movement. Killing would also render all ai_ console commands unusable.

It is referred to as BigNet by the engine. Valve at one point intended to expand on this entity by making multiple of these work together in maps.

Note.pngNote:This is a preserved entity in Counter-Strike: SourceHalf-Life 2: DeathmatchDay of Defeat: SourcePortalTeam Fortress 2Alien SwarmPortal 2Counter-Strike: Global Offensive.
  • On a new round, its properties including its position will intentionally not reset. You can use logic_auto to emulate resetting it.
  • Killing it removes it forever, as it is not respawned on a new round.
  • It cannot be spawned with a point_template.
  • Parenting this with non preserved entities may have undesirable effects.

ai_network has no way of resetting itself outside of the standard CBaseEntity/CPointEntity capabilities.

See Also