Difference between revisions of "Say"

552 bytes added ,  22:41, 17 September 2014
Added VoiceAudioPositionFlag
imported>JOG
(Interesting "new" functions...)
imported>Ebizoe
(Added VoiceAudioPositionFlag)
 
(12 intermediate revisions by 7 users not shown)
Line 1: Line 1:
'''Syntax:'''
'''Syntax:'''
  Say TopicID ForceSubtitleFlag* SpeakerID* UnknownFlag*  
  Say TopicID [ForceSubtitleFlag] [SpeakerID] [VoiceAudioPositionFlag]  
(* = Optional)


Use the function to have an NPC speak a single dialogue item on the specified topic.
Use the function to have an NPC speak a single dialogue item on the specified topic.
Line 9: Line 7:
'''Examples:'''
'''Examples:'''
  Say SecretTopic  
  Say SecretTopic  
  DAMolagBalSpeech 1 DAMolagBalVoice 1
   
Say DAMolagBalSpeech 1 DAMolagBalVoice 1




Line 21: Line 20:
*With the optional "SpeakerID" it's possible to make a creature, an activator or another Object say something. The ID needs to be a NPC which will be used to determine race and gender of the voice-file to be used. For this, the NPC doesn't need to be placed in the world.
*With the optional "SpeakerID" it's possible to make a creature, an activator or another Object say something. The ID needs to be a NPC which will be used to determine race and gender of the voice-file to be used. For this, the NPC doesn't need to be placed in the world.


*the "Unknown flag" is set to 1 in all daedra-shrine scripts, it is recommended to set it to 1 whenever you use the SpeakerID.
*If VoiceAudioPositionFlag = 1, the voice audio will be played on the position of the player regardless the distance between the calling object and the player. If the flag is 0 or omitted, the voice audio will be played on the position of the calling object. It is set to 1 in all daedra-shrine scripts.


*Calling this function on a Creature, or anything other than an NPC, may crash the game unless a SpeakerID is provided.


==See Also==  
==See Also==  
[[SayTo]]
*[[SayTo]]
*[[StartConversation]]
   
   
[[Category: Functions]]
[[Category: Functions]]
[[Category:Functions (CS)]]
[[Category: Functions (CS 1.0)]]
[[Category: Actor Functions]]
[[Category: Actor Functions (CS 1.0)]]
[[Category: Dialogue Functions]]
[[Category: Dialogue Functions]]
[[Category: Dialogue Functions (CS 1.0)]]
<!-- Begin Search Terms
Say
say
End Search Terms -->
Anonymous user