AltTopicclassactor.t[4589]

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.

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  allowAction  convKeys  getActor  includeInList  myAction  name  suggestAs 

Inherited from ActorTopicEntry :
activated  active  autoName  curiosityAroused  impliesGreeting  isConversational  keyTopics  listOrder  timesInvoked 

Inherited from TopicEntry :
isActive  matchExactCase  matchObj  matchPattern  matchScore  scoreBoost  topicMatched 

Summary of Methods  

matchTopic 

Inherited from ActorTopicEntry :
activate  addToConvKeyTable  buildName  curiositySatisfied  deactivate  getKeyTopics  handleTopic  initializeTopicEntry  isReachable  nodeActive  showKeyTopics  timesToSuggest 

Inherited from ReplaceRedirector :
redirect 

Inherited from Redirector :
doInstead  doNested  doOtherAction 

Inherited from TopicEntry :
addTopic  scoreBooster  topicResponse 

Properties  

actionPhraseactor.t[4604]

no description available

allowActionactor.t[4602]
no description available

convKeysOVERRIDDENactor.t[4597]
no description available

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

includeInListOVERRIDDENactor.t[4598]
no description available

myActionactor.t[4603]
no description available

nameOVERRIDDENactor.t[4599]
no description available

suggestAsOVERRIDDENactor.t[4600]
no description available

Methods  

matchTopic (top)OVERRIDDENactor.t[4611]

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 28/03/2016 from adv3Lite version 1.5