GetVoiceType - ObjectReference
Revision as of 17:19, 28 June 2011 by imported>Plplecuyer (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' ObjectReference Script (Papyrus) Obtains the VoiceType for this actor or talking activator.…')
Member of: ObjectReference Script (Papyrus)
Obtains the VoiceType for this actor or talking activator.
Syntax[edit | edit source]
VoiceType Function GetVoiceType() native
Parameters[edit | edit source]
None
Return Value[edit | edit source]
The VoiceType the actor or talking activator is using. None if it isn't an actor or talking activator.
Examples[edit | edit source]
; 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