StopEventListclass

misc.t[1167]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

A stopping event list - this runs through the event list in order, then stops at the last item and repeats it each time the script is subsequently invoked.

This is often useful for things like ASK ABOUT topics, where we reveal more information when asked repeatedly about a topic, but eventually reach a point where we’ve said everything:

>ask bob about black book
“What makes you think I know anything about it?” he says, his voice shaking.

>again
“No! You can’t make me tell you!”

>again
“All right, I’ll tell you what you want to know! But I warn you, these are things mortal men were never meant to know. Your life, your very soul will be in danger from the moment you hear these dark secrets!”

>again
[scene missing]

>again
“I’ve already told you all I know.”

>again
“I’ve already told you all I know.”

class StopEventList :   EventList

Superclass Tree   (in declaration order)

StopEventList
EventList
Script
`                         object`

Subclass Tree  

(none)

Global Objects  

(none)

Summary of Properties  

Inherited from EventList :
curScriptState eventList eventListLen

Summary of Methods  

advanceState

Inherited from EventList :
construct doScript doScriptEvent scriptDone

Inherited from Script :
getScriptState

Properties  

(none)

Methods  

advanceState ( )OVERRIDDEN

misc.t[1168]

no description available

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3