CNPC AntlionGuard
		
		
		
		
		
		Jump to navigation
		Jump to search
		

 
		
	

 
|  Class hierarchy | 
|---|
| CNPC_AntlionGuard | 
|  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!)".























