CAI BaseActor: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| 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...") | m (I guess we may have to modify the CD template itself and configure the locations of the class files from there…?) | ||
| Line 1: | Line 1: | ||
| {{CD|CAI BaseActor|base=CAI ExpresserHost|file1=[https://github.com/ValveSoftware/source-sdk-2013/blob/master | {{CD|CAI BaseActor|base=CAI ExpresserHost|file1=[https://github.com/ValveSoftware/source-sdk-2013/blob/master/src/game/server/ai_baseactor.cpp ai_baseactor.cpp]}} | ||
| ==Descriptions of in-game accessible Keyvalues / Inputs / Outputs== | ==Descriptions of in-game accessible Keyvalues / Inputs / Outputs== | ||
Revision as of 01:10, 29 May 2025
|  Class hierarchy | 
|---|
| CAI BaseActor | 
|  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 <string>