DefaultAgendaTopicclassactor.t[4500]

A DefaultAgendaTopic can be used to give the actor the opportunity to seize the conversational initiative when the player enters a conversational command for which there's no explicit match. Instead of giving a bland default response the actor can instead respond with an item from its own agenda, e.g. "Never mind that, what I really want to know is...".

Items can be added to the agenda of a DefaultAgendaTopic by calling its addToAgenda method. To obtain a reference to a DefaultAgendaTopic use the defaultAgendaTopic property of the Actor or ActorState in which it is located (note, therefore, that there should only be at most one of these per Actor or Actor State).

Note that you should define the topicResponse or eventList property of a DefaultAgendaTopic in case none of the agenda items in its agenda list turn out to be executable.

class DefaultAgendaTopic :   AgendaManager   DefaultAnyTopic

Superclass Tree   (in declaration order)

DefaultAgendaTopic
        AgendaManager
                object
        DefaultAnyTopic
                DefaultTopic
                        ActorTopicEntry
                                ReplaceRedirector
                                        Redirector
                                                object
                                TopicEntry
                                        object

Subclass Tree  

(none)

Global Objects  

(none)

Summary of Properties  

active  matchScore 

Inherited from AgendaManager :
agendaList 

Inherited from DefaultAnyTopic :
includeInList  matchGreetings  matchObj 

Inherited from DefaultTopic :
exceptions 

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

Inherited from TopicEntry :
isActive  matchExactCase  matchPattern  narrator  scoreBoost  topicMatched 

Summary of Methods  

handleTopic 

Inherited from AgendaManager :
addToAgenda  executeAgenda  removeFromAgenda 

Inherited from DefaultTopic :
avoidMatching  matchTopic 

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

Inherited from ReplaceRedirector :
redirect 

Inherited from Redirector :
doInstead  doNested  doOtherAction 

Inherited from TopicEntry :
addTopic  factText  informFact  revealFact  scoreBooster  topicResponse 

Properties  

activeOVERRIDDENactor.t[4516]

This kind of Default Topic is active only when it has any agenda items to process.

matchScoreOVERRIDDENactor.t[4523]
When this DefaultTopic is active we want it to take priority over over DefaultTopics.

Methods  

handleTopic ( )OVERRIDDENactor.t[4502]

no description available

Adv3Lite Library Reference Manual
Generated on 25/04/2024 from adv3Lite version 2.0