CAI BaseActor

From Valve Developer Community
Jump to navigation Jump to search
C++ Class hierarchy
CAI_BaseActor
↳CAI_ExpresserHost
↳CAI_BaseHumanoid
↳CAI_BaseHumanoidBase
↳CAI_BaseNPC
↳CBaseCombatCharacter
↳CBaseFlex
↳CBaseAnimatingOverlay
↳CBaseAnimating
↳CBaseEntity
C++ ai_baseactor.cpp

Descriptions of in-game accessible Keyvalues / Inputs / Outputs

Keyvalues

DontUseSpeechSemaphore <boolean>
Friendly NPCs are not allowed to speak if another friendly NPC is speaking. In some cases, we don't want speaking NPCs to prevent other NPCs from speaking (for instance, if there is a friendly NPC speaking for a long time on a monitor). To make this NPC not prevent other NPCs from talking, make it not grab the semaphore when it speaks.
ExpressionOverride <string>
Facial expression override

Input

SetExpressionOverride <stringRedirectInput/string>