SetOverrideVoiceType - Actor

Member of: Actor Script

Overrides the voice type for this actor - set to None to clear.

SyntaxEdit

Function SetOverrideVoiceType(VoiceType akVoiceType) native

ParametersEdit

  • akVoiceType: The voice type to override with - None to clear the override

Return ValueEdit

None.

ExamplesEdit

; Override the prisoner with the gruff male voice type
Prisoner.SetOverrideVoiceType(GruffMale)


; Reset the voice type to the original one
Prisoner.SetOverrideVoiceType(None)

See AlsoEdit