SayToDone

From the Fallout3 GECK Wiki
Revision as of 18:18, 26 December 2008 by imported>Quetzilla (not a function but still a godsend)
Jump to navigation Jump to search

Overview

The SayToDone block is triggered when a Say or SayTo is complete.

Syntax:

Begin SayToDone [topic_name]   ; Where the topic_name is optional.

Example:

(This is a script fragment, meant for illustration, it is not perfect):

Begin GameMode
   If WhichInfo == 1
       JoeRef.Say SpeechTopic
       Set WhichInfo to WhichInfo + 1
   EndIf
End

Begin SayToDone SpeechTopic
   If WhichInfo <= LastInfo
       JoeRef.Say SpeechTopic
       Set WhichInfo to WhichInfo + 1
   EndIf
End

See Also

Say
SayTo
Three Way Conversation Tutorial