AltTopicclass

actor.t[4744]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

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/TopicEntry.html)                         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  

actionPhrase

actor.t[4759]

no description available

allowAction

actor.t[4757]

no description available

convKeysOVERRIDDEN

actor.t[4752]

no description available

getActorOVERRIDDEN

actor.t[4750]

By default we take most of our property values from the corresponding property on the TopicEntry we’re located in

includeInListOVERRIDDEN

actor.t[4753]

no description available

myAction

actor.t[4758]

no description available

nameOVERRIDDEN

actor.t[4754]

no description available

suggestAsOVERRIDDEN

actor.t[4755]

no description available

Methods  

matchTopic (top)OVERRIDDEN

actor.t[4766]

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 15/03/2023 from adv3Lite version 1.6.1