Background for Fallout 4
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


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 Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.