Difference between revisions of "Osiris/API/VoiceBarkFailed"

From Divinity Engine Wiki
Jump to: navigation, search
(Documented conditions under which a voicebark fails, and also mention difference regarding the triggering of VoiceBarkEnding vis-a-vis (Automated)DialogEnded)
Line 6: Line 6:
 
* '''_Bark''': Name of the voicebark.
 
* '''_Bark''': Name of the voicebark.
 
===== Notes =====
 
===== Notes =====
-
+
* A valid character for a voicebark must
 +
** be a [[Osiris/API/CharacterIsPlayer|player character]];
 +
** have the appropriate tags specified in the [[Voice_Bark_editor|Voice Bark editor]];
 +
** be alive, not in an [[Osiris/API/IsSpeakerReserved|interactive dialog]], not be a [[Osiris/API/CharacterIsSummon|summon]], not be charmed, not be [[Osiris/API/SetVisible|invisible]] (and not have the status INVISIBLE), not be [Osiris/API/SetOnStage|off-stage]], not be a [[Osiris/API/CharacterAddToPlayerCharacter|party follower]], not have [[Osiris/API/CharacterIsPolymorphInteractionDisabled|interactions disabled due to polymorphing]], and not be sneaking.
 +
* Unlike with [[Osiris/API/DialogFailed|DialogFailed]] and [[Osiris/API/AutomatedDialogFailed|AutomatedDialogFailed]], no [[Osiris/API/VoicebarkEnded|VoicebarkEnded]] event will be thrown after a '''VoiceBarkFailed''' event.
 
===== See Also =====
 
===== See Also =====
 
* [[Osiris/API/StartVoiceBark|StartVoiceBark]]
 
* [[Osiris/API/StartVoiceBark|StartVoiceBark]]
 +
* [[Osiris/API/VoicebarkEnded|VoiceBarkEnded]]
 
* [[Osiris/API/VoicebarkStarted|VoiceBarkStarted]]
 
* [[Osiris/API/VoicebarkStarted|VoiceBarkStarted]]
 
* [[Voice_Bark_editor|Voice_Bark_editor]] on general Voicebark logic.
 
* [[Voice_Bark_editor|Voice_Bark_editor]] on general Voicebark logic.
 
   
 
   
 
[[Category:Osiris Events|VoiceBarkFailed]]
 
[[Category:Osiris Events|VoiceBarkFailed]]

Revision as of 15:50, 6 February 2019

Full Definition(s)
  • event VoiceBarkFailed((STRING)_Bark)
Description
  • Thrown when a Voicebark fails to find characters and an AD for the voicebark called _Bark.
Parameters
  • _Bark: Name of the voicebark.
Notes
See Also