AltTopicclassactor.t[5264], facts.t[1446], factrel.t[708]

An AltTopic is a TopicEntry that can be located inside another TopicEntry; to provide an alternative response to the same conversational commands when its isActive property is true. An AltTopic takes precedence over its enclosing TopicEntry when its active property is true, but otherwise takes most of its properties (apart from its topicResponse) from the TopicEntry in which it is located. You can have as many AltTopics as you like associated with any given TopicEntry; the one that will be used will be the last to be defined for which isActive is true.

Modified in facts.t[1446]:
Modications to AltTopic to work with the modifications to ActorTopicEntry with the FACTS module.

Modified in factrel.t[708]:
Modifications to AltTopic to work with FACT RELATIONS modifications to ActorTopicEntry

class AltTopic :   ActorTopicEntry

Superclass Tree   (in declaration order)

AltTopic
        ActorTopicEntry
                ReplaceRedirector
                        Redirector
                                object
                TopicEntry
                        object

Subclass Tree  

(none)

Global Objects  

(none)

Summary of Properties  

actionPhrase  agenda  agendaItem  allowAction  aTag  autoUseAgenda  convKeys  getActor  includeInList  matchObj  myAction  name  revealing  suggestAs  tTag 

Inherited from ActorTopicEntry :
activated  activateKeyTopics  active  agendaPath  arouseKeyTopics  autoName  autoSuppress  autoSuppressSubTopics  curiosityAroused  impliesGreeting  keyTopics  lastConvResponse  lcrScriptClass  listOrder  nextStep  timesInvoked  wasConversational 

Inherited from TopicEntry :
isActive  matchExactCase  matchPattern  matchScore  narrator  scoreBoost  topicMatched 

Summary of Methods  

matchTopic 

Inherited from ActorTopicEntry :
activate  addToConvKeyTable  baseHandleTopic  buildName  curiositySatisfied  deactivate  filterTopicSuggestions  fText  getKeyTopics  handleTopic  infTag  initializeTopicEntry  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  revealFact  revealNewFact  scoreBooster  topicResponse 

Properties  

actionPhraseactor.t[5279]

no description available

agendaOVERRIDDENfactrel.t[709]
no description available

agendaItemactor.t[5299]
Note the topic we're trying to match.

allowActionactor.t[5277]
no description available

aTagOVERRIDDENfacts.t[1451]
Take our rTag from our location's aTag

autoUseAgendaOVERRIDDENfactrel.t[710]
no description available

convKeysOVERRIDDENactor.t[5272]
no description available

getActorOVERRIDDENactor.t[5270]
By default we take most of our property values from the corresponding property on the TopicEntry we're located in

includeInListOVERRIDDENactor.t[5273]
no description available

matchObjOVERRIDDENfacts.t[1454]
Take our matchoObj from our location's matchObj

myActionactor.t[5278]
no description available

nameOVERRIDDENactor.t[5274]
no description available

revealingfacts.t[1457]
Take our revealing flag from our location's revealing

suggestAsOVERRIDDENactor.t[5275]
no description available

tTagOVERRIDDENfacts.t[1448]
Take our tTag from our location's tTag

Methods  

matchTopic (top)OVERRIDDENactor.t[5286]

We match if our location matches, but if it does match we add our relative source text order to our location's match score to give us a higher score the later we're defined after our associated TopicEntry.

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