SlaveTopic class | actor.t[4841]

A SlaveTopic is a special kind of TopicEntry created by a SpecialTopic to function as an AskTopic, TellTopic or AskTellTopic that produces the same response at the SpecialTopic. Game code would not normally define SlaveTopics directly

`class SlaveTopic : ActorTopicEntry`

Superclass Tree (in declaration order)

`SlaveTopic`
`ActorTopicEntry`
`ReplaceRedirector`
`Redirector`
`object`
`TopicEntry`
`object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

`initialized masterObj`

Inherited from `ActorTopicEntry` :
`activated activateKeyTopics active 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` :
`includeInList isActive matchExactCase matchObj matchPattern matchScore narrator scoreBoost topicMatched`

Summary of Methods

`construct handleTopic initializeTopicEntry`

Inherited from `ActorTopicEntry` :
`activate addToConvKeyTable baseHandleTopic buildName curiositySatisfied deactivate filterTopicSuggestions fText getKeyTopics infTag 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 matchTopic revealFact scoreBooster topicResponse`

Properties

`initialized` | `actor.t[4897]`

Flag: has this SlaveTopic already been initialized.

`masterObj` | `actor.t[4894]`

Our masterObj is the SpecialTopic that created us

Methods

`construct (matchObj_, masterObj_, includeInList_)` | `actor.t[4844]`

Construct a SlaveTopic

`handleTopic ( )`OVERRIDDEN | `actor.t[4891]`

To handle this topic we simply call the handleTopic method on our masterObj (i.e. the SpecialTopic that created us)

`initializeTopicEntry ( )`OVERRIDDEN | `actor.t[4871]`

Carry out our initialization as a TopicEntry.

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