Mod:Creation Kit/GetVoiceType - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script (Papyrus)

Obtains the VoiceType for this actor or talking activator.

Syntax
VoiceType Function GetVoiceType native

Parameters
None

Return Value
The VoiceType the actor or talking activator is using. None if it isn't an actor or talking activator.

Examples
if myObject.GetVoiceType == MalePeasent Debug.Trace("Object is using the male peasent voice type, do something!") endIf
 * Is our object using the MalePeasent voice type?