SayToDone

From the Fallout3 GECK Wiki
Revision as of 10:55, 1 December 2008 by imported>JBurgess (→‎'''Example:''')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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