• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Fixed After waiting on ship character doesn't talk anymore

Levis

Find(Rum) = false;
Staff member
Administrator
Creative Support
Programmer
Storm Modder
After waiting on the ship the character doesnt talk anymore (if you exit the dialog) untill you reload that area.

The wait is triggered by this:
Code:
DialogExit();
            WaitDate("", 0,0,0,1,0);
            PChar.waitedonship = NPChar.id;
            AddDialogExitQuest("waited_on_ship_for_time");
            LAi_Fade("", "");

and then this is called to let him talk to you again so you know it worked:
Code:
case "waited_on_ship_for_time":
            NPChar = characterFromID(Pchar.waitedonship);
            LAi_SetActorType(NPChar);
            NPChar.dialog.currentnode = "whatsthetime";
            LAi_ActorDialog(NPChar,Pchar,"",5.0,1.0);
        break;

But if you go to a dialog exit after this it wont talk to you again for some weird reason ... what did I do wrong here?
I guess @Bartolomeu o Portugues and @Jack Rackham have way more experience with these kind of things in dialogs then I do so thye probally see it instantly instead of me looking for it for a couple of hours...
 
No, you say before talking? So would that be before
LAi_ActorDialog(

?
 
You set the character to ActorType to automatically initiate the dialog. You have to return him to his original type when the dialog exits.
Reason is that you cannot talk to ActorType characters manually. :no
 
I thought that's what you thought. And I think you thought right.

:rofl :razz :rofl
 
Back
Top