GetActorVoice
The voice an actor speaks in.
Syntax
Section titled “Syntax”GetActorVoice(id)| Parameter | Type | |
|---|---|---|
id |
number | the actor |
Returns
Section titled “Returns”string - the game’s voice abbreviation (the voices): the one SetActorVoice gave it, else its soul’s; "" = a voice of its gender per line
Example
Section titled “Example”SendClientMessage(pid, COLOR_WHITE, GetEntityName(guard) .. " speaks as " .. GetActorVoice(guard))See also
Section titled “See also”SetActorVoice · the Actor life group of the index
