SuggestedTopic : object
| [Previous] [Main] [Next] |
SuggestedAskTopic
|
SuggestedGiveTopic
|
SuggestedNoTopic
|
SuggestedShowTopic
|
SuggestedTellTopic
|
SuggestedTopicTree
|
SuggestedYesTopic
|
· | name - the name that will be given to this topic in the list of suggestions, after the phrase "You could ask about/ask for/tell about/show/give" You should always supply a value for this property, unless for some reason you override fullName.
|
· | fullName - the title of the suggestion, suitable for following after "You could " (e.g. "You could ask about the diamond ring. "). You don't normally need to override this, since the library will construct a suitable phrase from the name property and the type of SuggestedTopic. If, however, you were creating your own custom kind of SuggestedTopic it might be useful to override this.
|
· | timesToSuggest - rather than assuming that we have infinite curiosity about any particular topic, the game will assume we've exhausted our curiosity about it, that is it will stop suggesting it, after we have asked/told about (or shown or given) it this number of times. If you want this topic to go on being suggested ad infinitum, then set timesToSuggest to nil. By default, it's set to 1.
|
· | When the player types a TALK TO, GREET or HELLO command
|
· | When the player issue a TOPICS command
|
· | Inside a ConvNode when there is an active SpecialTopic
|
· | Under programmer control, following the use of a <.topics> tag in any output
|
· | By a call to the NPC's suggestTopics(explicit) method (where explicit is either true or nil, as in a TOPICS or a TALK TO command respectively)
|
You\'ve been pretty brave about that ghost - after all it was scary!you remark.\b
It was,she agrees,
and you\'ve been pretty brave too!', '
You know, I really am glad you\'re with me.you tell her.\b
Me too!she agrees warmly, giving your arm a little squeeze. ' ] isActive = (getActor.hasSeen(ghost)) ;