CAI BaseActor

From Valve Developer Community
Revision as of 03:20, 27 September 2024 by Gameplayer (talk | contribs) (Created page with "{{CD|CAI BaseActor|base=CAI ExpresserHost|file1=[https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/server/ai_baseactor.cpp ai_baseactor.cpp]}} ==Descri...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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>