DefaultAgendaTopicclassactor.t[3996]

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 ActorTopicEntry :
activated  autoName  convKeys  curiosityAroused  getActor  impliesGreeting  isConversational  keyTopics  listOrder  name  suggestAs  timesInvoked 

Inherited from TopicEntry :
isActive  matchExactCase  matchPattern  scoreBoost  topicMatched 

Summary of Methods  

handleTopic 

Inherited from AgendaManager :
addToAgenda  executeAgenda  removeFromAgenda 

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

Inherited from ReplaceRedirector :
redirect 

Inherited from Redirector :
doInstead  doNested  doOtherAction 

Inherited from TopicEntry :
addTopic  matchTopic  scoreBooster  topicResponse 

Properties  

activeOVERRIDDENactor.t[4012]

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

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

Methods  

handleTopic ( )OVERRIDDENactor.t[3998]

no description available

Adv3Lite Library Reference Manual
Generated on 28/03/2016 from adv3Lite version 1.5