SpecialTopicclassactor.t[4848]

SpecialTopic is the base class for two kinds of TopicEntry that extend the conversation system beyong basic ask/tell: SayTopic and QueryTopic. The SpecialTopic class defines the common handling but is not used directly in game code, which will use either SayTopic or QueryTopic

class SpecialTopic :   ActorTopicEntry

Superclass Tree   (in declaration order)

SpecialTopic
        ActorTopicEntry
                ReplaceRedirector
                        Redirector
                                object
                TopicEntry
                        object

Subclass Tree  

SpecialTopic
        QueryTopic
        SayTopic

Global Objects  

(none)

Summary of Properties  

askMatchObj  autoName  rex  tellMatchObj 

Inherited from ActorTopicEntry :
activated  activateKeyTopics  active  agenda  agendaPath  arouseKeyTopics  aTag  autoSuppress  autoSuppressSubTopics  autoUseAgenda  convKeys  curiosityAroused  getActor  impliesGreeting  keyTopics  lastConvResponse  lcrScriptClass  listOrder  name  nextStep  suggestAs  timesInvoked  tTag  wasConversational 

Inherited from TopicEntry :
includeInList  isActive  matchExactCase  matchObj  matchPattern  matchScore  narrator  scoreBoost  topicMatched 

Summary of Methods  

initializeTopicEntry 

Inherited from ActorTopicEntry :
activate  addToConvKeyTable  baseHandleTopic  buildName  curiositySatisfied  deactivate  filterTopicSuggestions  fText  getKeyTopics  handleTopic  infTag  isConversational  isReachable  nodeActive  qualifiedDesc  revTag  showKeyTopics  timesToSuggest  tryAgenda  tryNextStep  useAgenda 

Inherited from ReplaceRedirector :
redirect 

Inherited from Redirector :
askMissingLiteral  doInstead  doNested  doOtherAction 

Inherited from TopicEntry :
addTopic  factText  informFact  informNewFact  interpret  matchTopic  revealFact  revealNewFact  scoreBooster  topicResponse 

Properties  

askMatchObjactor.t[4948]

If we want this SpecialTopic also to match an ASK ABOUT command, define the askMatchObj to hold the topic or list of topics that said ASK ABOUT command should match here.

autoNameOVERRIDDENactor.t[4961]
For a SpeciallTopic make constructing a name property automatically the default.

rexactor.t[4941]
A Regular expression pattern to look for the kinds of characters we'd expect to find in our matchPattern property if it actually represents a regular expression for this TopicEntry to match. We use this to help determine whether the matchPattern property contains a regex to match or the vocab of a Topic object to create on the fly.

tellMatchObjactor.t[4955]
If we want this SpecialTopic also to match an TELL ABOUT command, define the askMatchObj to hold the topic or list of topics that said TELL ABOUT command should match here.

Methods  

initializeTopicEntry ( )OVERRIDDENactor.t[4854]

Carry out the initialization (actually preinitialization) of a SpecialTopic

Adv3Lite Library Reference Manual
Generated on 03/07/2024 from adv3Lite version 2.1