AltTopicclass
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
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
no description available
allowAction
no description available
convKeys
OVERRIDDEN
no description available
getActor
OVERRIDDEN
By default we take most of our property values from the corresponding property on the TopicEntry we’re located in
includeInList
OVERRIDDEN
no description available
myAction
no description available
name
OVERRIDDEN
no description available
suggestAs
OVERRIDDEN
no description available
Methods
matchTopic (top)
OVERRIDDEN
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