Background for Skyrim SE
Member of the ObjectReference script
VoiceTypefunctionGetVoiceType()Native

Description

Wiki Description

Obtains the VoiceType for this actor or talking activator.

Documentation Comment

Gets the voice type for this reference. Will return None if not an actor or a talking activator


Caveats

CK Wiki - Notes

  • This is a good way to check for a specific unique actor if you wish to avoid declaring actor properties.

Examples

; 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

Auto-Generated Example

VoiceType returnedValue = myObjectReference__toCallFunctionOn.GetVoiceType()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.