SetOverrideVoiceType - Actor
Jump to navigation
Jump to search
Member of: Actor Script
Overrides the voice type for this actor - set to None to clear.
Syntax[edit | edit source]
Function SetOverrideVoiceType(VoiceType akVoiceType) native
Parameters[edit | edit source]
- akVoiceType: The voice type to override with - None to clear the override
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Override the prisoner with the gruff male voice type
Prisoner.SetOverrideVoiceType(GruffMale)
; Reset the voice type to the original one
Prisoner.SetOverrideVoiceType(None)