ImpHelloTopic class | actor.t[3319]

An implied greeting topic. This handles ONLY implied greetings.

Note that we have a higher-than-normal score by default. This makes it easy to program two common cases for conversational states. First, the more common case, where you want a single message for both implied and explicit greetings: just create a HelloTopic, since that responds to both kinds. Second, the less common case, where we want to differentiate, writing separate responses for implied and explicit greetings: create a HelloTopic for the explicit kind, and ALSO create an ImpHelloTopic for the implied kind. Since the ImpHelloTopic has a higher score, it'll overshadow the HelloTopic object when it matches an implied greeting; but since ImpHelloTopic doesn't match an explicit greeting, we'll fall back on the HelloTopic for that.

`class ImpHelloTopic : MiscTopic`

Superclass Tree (in declaration order)

`ImpHelloTopic`
`MiscTopic`
`TopicEntry`
`object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

`impliesGreeting includeInList matchList matchScore`

``

Inherited from `TopicEntry` :
`altTalkCount altTopicList isActive isConversational matchObj talkCount topicGroupActive topicGroupScoreAdjustment topicResponse`

Summary of Methods

`noteInvocation`

Inherited from `MiscTopic` :
`isMatchPossible matchTopic`

Inherited from `TopicEntry` :
`addAltTopic addSuggestedTopic addTopic adjustScore anyAltIsActive breakTopicTie checkIsActive deferToEntry getActor getTopicOwner handleTopic initializeTopicEntry noteAltInvocation setTopicPronouns`

Properties

`impliesGreeting` OVERRIDDEN | `actor.t[3328]`

this is itself a greeting, so we obviously don't want to trigger another greeting to greet the greeting

`includeInList` OVERRIDDEN | `actor.t[3320]`

no description available

`matchList` | `actor.t[3321]`

no description available

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

no description available

Methods

`noteInvocation (fromActor)`OVERRIDDEN | `actor.t[3334]`

if we use this as a greeting upon entering a ConvNode, we'll want to stay in the node afterward

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3