BlockSpeechContextGroup
DocsBlockSpeechContextGroup(groupName, contextBlockTarget)Description
enum eAudContextBlockTarget {
AUD_CONTEXT_BLOCK_PLAYER = 0,
AUD_CONTEXT_BLOCK_NPCS = 1,
AUD_CONTEXT_BLOCK_BUDDYS = 2,
AUD_CONTEXT_BLOCK_EVERYONE = 3,
AUD_CONTEXT_BLOCK_TARGETS_TOTAL
}Stop a certain group of peds from using a certain group of speech contexts.
Note that the block will be automatically removed when the calling script finishes
Parameters
| Name | Type | Description |
|---|---|---|
groupName | char* | the name of the context group to be blocked |
contextBlockTarget | int | the group of peds that should be used (refer to eAudContextBlockTarget) |
Returns
voidThis native does not return a value.