SayToDone

From GECK

Revision as of 18:18, 26 December 2008 by Quetzilla (Talk | contribs) (not a function but still a godsend)

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

Personal tools