DefaultTopicclass | actor.t[4031]

A DefaultTopic is a kind of TopicEntry for use as a fallback when the player attempts to discuss a topic that game code doesn't explicitly cater for.

`class DefaultTopic : ActorTopicEntry`

Superclass Tree (in declaration order)

`DefaultTopic`
`ActorTopicEntry`
`ReplaceRedirector`
`Redirector`
`object`
`TopicEntry`
`object`

Subclass Tree

`DefaultTopic`
`DefaultAnyTopic`
`DefaultAgendaTopic`
`DefaultAnyNonSayTopic`
`DefaultAskForTopic`
`DefaultAskQueryTopic`
`DefaultAskTellTopic`
`DefaultAskTopic`
`DefaultCommandTopic`
`DefaultConversationTopic`
`DefaultNonSayTopic`
`DefaultGiveShowTopic`
`DefaultGiveTopic`
`DefaultQueryTopic`
`DefaultSayQueryTopic`
`DefaultSayTellTalkTopic`
`DefaultSayTellTopic`
`DefaultSayTopic`
`DefaultShowTopic`
`DefaultTalkTopic`
`DefaultTellTalkTopic`
`DefaultTellTopic`

Global Objects

(none)

Summary of Properties

`exceptions matchObj matchScore`

Inherited from `ActorTopicEntry` :
`activated active autoName convKeys curiosityAroused getActor impliesGreeting isConversational keyTopics listOrder name suggestAs timesInvoked`

``

``

Inherited from `TopicEntry` :
`includeInList isActive matchExactCase matchPattern scoreBoost topicMatched`

Summary of Methods

`avoidMatching 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

`exceptions` | `actor.t[4060]`

A list of topics we don't want this DefaultTopic to match, so matching can fall through to another topic database to handle it (thereby facilitating the common handling of some topics across ActorStates).

`matchObj` OVERRIDDEN | `actor.t[4033]`

A DefaultTopic matches any Thing or Topic or yes or no

`matchScore` OVERRIDDEN | `actor.t[4039]`

A DefaultTopic has a very low matchScore to allow anything more specific to take precedence.

Methods

`avoidMatching (top)` | `actor.t[4068]`

Do we want to avoid this DefaultTopic matching top, so that it can be matched elsewhere? By default we do so if top is listed in our exceptions.

`matchTopic (top)`OVERRIDDEN | `actor.t[4046]`

Don't match this DefaultTopic if top is one of the topics we want to avoid matching. Otherwise carry out the inherited handling.

Adv3Lite Library Reference Manual
Generated on 01/03/2024 from adv3Lite version 1.6.2