Difference between revisions of "Say"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Maturin
 
imported>JOG
(Interesting "new" functions...)
Line 1: Line 1:
'''Syntax:'''
'''Syntax:'''
  Say TopicID ForceSubtitleFlag (optional)
  Say TopicID ForceSubtitleFlag* SpeakerID* UnknownFlag* 
'''Example:'''
(* = Optional)
 
Use the function to have an NPC speak a single dialogue item on the specified topic.
 
 
'''Examples:'''
  Say SecretTopic  
  Say SecretTopic  
DAMolagBalSpeech 1 DAMolagBalVoice 1
'''Notes:'''
*The NPC will lip-synch but will not otherwise interrupt his current package.
*"Say" returns the time in seconds that the NPC will take to finish speaking, which can be useful for timing followups in scripts.
*If ForceSubtitleFlag = 1, the subtitles will be displayed regardless of distance between the speaker and the player.
*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.


Use the function to have an NPC speak a single dialogue item on the specified topic. The NPC will lip-synch but will not otherwise interrupt his current package.  
*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.


Returns the time in seconds that the NPC will take to finish speaking, which can be useful for timing followups in scripts.


==See Also==  
==See Also==  

Revision as of 15:30, 16 June 2006

Syntax:

Say TopicID ForceSubtitleFlag* SpeakerID* UnknownFlag*  

(* = Optional)

Use the function to have an NPC speak a single dialogue item on the specified topic.


Examples:

Say SecretTopic 
DAMolagBalSpeech 1 DAMolagBalVoice 1


Notes:

  • The NPC will lip-synch but will not otherwise interrupt his current package.
  • "Say" returns the time in seconds that the NPC will take to finish speaking, which can be useful for timing followups in scripts.
  • If ForceSubtitleFlag = 1, the subtitles will be displayed regardless of distance between the speaker and the player.
  • 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.


See Also

SayTo