Ambiguous object announcement. We display this when the parser manages to resolve a noun phrase to an object (or objects) from an ambiguous set of possibilities, without having to ask the player for help but also without absolute certainty that the objects selected are the ones the player meant. This happens when more than enough objects are logical possibilities for selection, but some objects are more logical choices than others. The parser picks the most logical of the available options, but since other logical choices are present, the parser can't be certain that it chose the ones the player actually meant. Because of this uncertainty, we generate one of these announcements each time this happens. This report lets the player know exactly which object we chose, which will immediately alert the player when our selection is different from what they had in mind.

In form, this type of announcement usually looks just like a default object announcement.

class AmbigObjectAnnouncement :   CommandAnnouncement

Superclass Tree   (in declaration order)


Subclass Tree  


Global Objects  


Summary of Properties  


Inherited from CommandAnnouncement :

Inherited from CommandReport :
action_  isFailure  isQuestion  iter_ 

Summary of Methods  

Inherited from CommandAnnouncement :
construct  getMessageText  showMessage 

Inherited from CommandReport :
getAction  isActionImplicit  isActionNestedIn  isPartOf  setAction 



show the announceAmbigObject announcement



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