Aller au contenu

Photo

Breaking Out Of Convo If Condition Not Met


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
Badwater

Badwater
  • Members
  • 113 messages
Is there a function or command by way of scripting that will immediately end a conversation from the NPC end (that's how is would appear anyway)? For example, I have this section of a script:

 else
            {
                SendMessageToPC(oPC, "You lack the gold to do this.");
                return;
            }

Is there something I can insert into this script, after the message, to break out of the conversation?

Modifié par Badwater, 23 mars 2011 - 10:02 .


#2
ent.devil

ent.devil
  • Members
  • 13 messages
Sorry, didn't see this post earlier.

Yes assign an action to the PC to start a blank conversation with themselves such as:

ActionDoCommand(AssignCommand(oPC, ActionStartConversation(oPC, "", TRUE, FALSE)));