BoredomAgendaItemclass
A special kind of agenda item for monitoring “boredom” during a conversation. We check to see if our actor is in a conversation, and the PC has been ignoring the conversation for too long; if so, our actor initiates the end of the conversation, since the PC apparently isn’t paying any attention to us.
class
BoredomAgendaItem
:
AgendaItem
Superclass Tree (in declaration order)
BoredomAgendaItem
AgendaItem
` object`
Subclass Tree
(none)
Global Objects
(none)
Summary of Properties
Inherited from AgendaItem
:
calledBy
initiallyActive
invokedByActor
isDone
isReady
name
Summary of Methods
Inherited from AgendaItem
:
getActor
invokeItemBase
registerItem
report
resetItem
Properties
agendaOrder
OVERRIDDEN
by default, handle boredom before other agenda items - we do this because an ongoing conversation will be the first thing on the NPC’s mind
Methods
construct (actor)
we construct these dynamically during actor initialization
invokeItem ( )
OVERRIDDEN
on invocation, end the conversation
isReady ( )
we’re ready to run if our actor is in an InConversationState and its boredom count has reached the limit for the state
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1