I’ve read various docs and I can’t figure this out. I’m trying to do something along these lines:
talk to npc
npc says “something about a dagger.”
ask npc about dagger
npc says “something about slaying monsters.”
I’ve tried the following as far as the second part goes:
[code]npc: Actor ‘npc’ ‘npc’ @startRoom "Npc "
isInitState = true
++ AskTopic @dagger
"npc says somthing about slaying monsters. "
isActive = true
I get a ‘nil object reference’ on the following line in file actor.t (line 4864 of the ‘handleConversation(otherActor, topic, convType)’ method for class ‘ConversationReadyState’):
inConvState.handleConversation(otherActor, topic, convType);
The Watch Expressions window indicates it’s the inConvState object that’s nil. I’m clearly missing a step (or two), but I don’t know what it is.
I have no idea how to handle the simple talk to npc action