CNPC AntlionGuard

From Valve Developer Community
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

English (en)Translate (Translate)
Class hierarchy
CNPC_AntlionGuard
CAI_BlendedNPC
CAI_BlendingHost<CAI_BaseNPC>
CAI_BaseNPC
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity
npc_antlionguard.cpp

CNPC_AntlionGuard is the C++ implementation of the npc_antlionguard. For information on where it's available, inputs and outputs, refer to the said page, as this one is talking about the C++ implementation of it.

The Antlion Guard only has one squad slot - SQUAD_SLOT_ANTLIONGUARD_CHARGE. When an Antlion Guard is trying to charge, it will occupy this squad slot. That also means only one Antlion Guard can charge at a time per squad. It will also not charge if a squad member is closer to the enemy than it is, because "// If someone in our squad is closer to the enemy, then don't charge (we end up hitting them more often than not!)".

Entities linked to this class