Osiris/API/StartVoiceBark

From Divinity Engine Wiki
Jump to: navigation, search
Full Definition(s)
  • call StartVoiceBark((STRING)_Bark, (CHARACTERGUID)_Source)
Description

Starts a Voicebark named _Bark on the _Source character, selecting an automatic dialogue based on that character's nearby party members.

Notes
  • See the Voicebark editor for the specifics on how the voicebark selects the AD that will be played.
  • In addition to the regular events for starting an automated dialogue, a VoiceBarkStarted will be sent if the voicebark succeeds in selecting a fitting dialogue, and VoiceBarkFailed otherwise.
  • _Source must be a party member, otherwise VoiceBarkFailed gets raised immediately.
See Also