GetVoiceType - ObjectReference
From Creation Kit
Member of: ObjectReference Script (Papyrus)
Obtains the VoiceType for this actor or talking activator.
VoiceType Function GetVoiceType() native
The VoiceType the actor or talking activator is using. None if it isn't an actor or talking activator.
; Is our object using the MalePeasent voice type? if myObject.GetVoiceType() == MalePeasent Debug.Trace("Object is using the male peasent voice type, do something!") endIf
- This is a good way to check for a specific unique actor if you wish to avoid declaring actor properties.