Give this agendaItem a high priority to make sure it is used in response to a FOLLOW ccmmand in preference to any other AgendaItems that may be pending.
Display our default message. We make use there is a nextDirection before we attempt to use it in our message, otherwise we simply use a bland "X is here."
The specialDesc to use when our NPC has just traveled as a result of this TravelAgendaItem. By default we just show our specialDesc, but game code might want to customize this to something like "Bob crosses the room and waits for you to follow him through the green door."
Give this AgendaItem the opportunity to react to travel; in particular this might be used to allow the NPC to react to or even forbid travel in a direction other than the one s/he's trying to lead the PC.
This method is invoked when our NPC arrives at his/her destination. By default we do nothing, but instances can override to provide code to handle the arrival, e.g. by changing the NPC's ActorState.
Show a specialDesc for this NPC when this TravelAgendaItem is active. If we've just moved this turn we display the arrivingDesc(), otherwise we show the specialDesc.
The specialDesc to display when our actor is waiting for the PC to follow it. By default we just show a plain vanilla message to the effect, "The NPC is waiting for you to follow him/her north" or whatever, but game code may wish to override this to provide a more customized message.
This method is called when our NPC attempts to travel via conn but the travel is blocked (by a locked door, for example). By default we do nothing here but game code can override this method to display an appropriate message or take any other action that might be needed in this situation.
If this method displays anything, the default "You wait in vain for the traveler to go anywhere" message will be suppressed.
Adv3Lite Library Reference Manual Generated on 26/02/2025 from adv3Lite version 2.2