Template:KV AI BaseActor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(ResponseContexts is from CBaseEntity but relies on this class)
(intn for Source keyvalue templates)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{back|Template:KV_CAI_BaseNPC}}
<noinclude>{{back|Template:KV_CAI_BaseNPC}}
</noinclude>{{minititle|AI_BaseActor}}
</noinclude>{{minititle|AI_BaseActor}}
{{KV|Don't Use Speech Semaphore (DontUseSpeechSemaphore)|bool|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.}}
{{KV|Don't Use Speech Semaphore|intn=DontUseSpeechSemaphore|bool|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.}}
{{KV|Facial Expression Override (ExpressionOverride)|string|Enter a [[VCD]] file to override facial expressions on this actor.}}
{{KV|Facial Expression Override|intn=ExpressionOverride|string|Enter a [[VCD]] file to override facial expressions on this actor.}}<noinclude>[[Category:Keyvalue Templates|AI BaseActor]]</noinclude>
{{KV|[[ResponseContext|Response Contexts]] (ResponseContext)|string|Pre-defined response system contexts for this entity. Format is <code>key:value,key:value,...</code>}}

Latest revision as of 12:33, 9 July 2024

Template:KV_CAI_BaseNPC

AI_BaseActor:

Don't Use Speech Semaphore (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.
Facial Expression Override (ExpressionOverride) <string>
Enter a VCD file to override facial expressions on this actor.