SetActorVoice
Gives an actor one of the game’s voices.
voice is a voice abbreviation of the voices; "" gives it its soul’s back. A line the voice never
recorded is said in another voice of the actor’s gender.
Syntax
Section titled “Syntax”SetActorVoice(id, voice)| Parameter | Type | |
|---|---|---|
id |
number | the actor |
voice |
string | a voice abbreviation; "" = its soul’s |
Returns
Section titled “Returns”boolean - false for an unknown voice or anything but an actor
Example
Section titled “Example”SetActorVoice(innkeeper, "dbal")See also
Section titled “See also”GetActorVoice · PlayActorBark · the Actor life group of the index
