Captain Alsed
Landlubber
Hi everyone;
Just trying some changes with the tutorial of Pirates of the Caribbean (stock version).
When you need to buy the spyglass, there is an instance where you may already had buy it, so i try this in MalcolmHatcher_dialog.c
The dialog runs succesfully until case "GoToStore", but when it's over, the character is stuck in position, unable to move. I can't figure it out what is wrong.
Any help you're most wellcome.
Just trying some changes with the tutorial of Pirates of the Caribbean (stock version).
When you need to buy the spyglass, there is an instance where you may already had buy it, so i try this in MalcolmHatcher_dialog.c
C#:
case "HereAretheTraders":
//check if already bough spyglass
if(CheckCharacterItem(Pchar, "spyglass2"))
{
dialog.text = DLG_TEXT[147];
link.l1 = DLG_TEXT[148];
link.l1.go = "GoToStore";
link.l2 = DLG_TEXT[149];
link.l2.go = "Skip_TutorialInPort";
}
else
{
addDialogExitQuest("Tut_SoBuyTheFuckingGlass");
NextDiag.TempNode = "SoBuyTheFuckingGlass";
dialog.text = DLG_TEXT[145];
link.l1 = DLG_TEXT[146];
link.l1.go = "Exit";
}
break;
case "SoBuyTheFuckingGlass":
if(CheckCharacterItem(Pchar, "spyglass2"))
{
dialog.text = DLG_TEXT[147];
link.l1 = DLG_TEXT[148];
link.l1.go = "GoToStore";
link.l2 = DLG_TEXT[149];
link.l2.go = "Skip_TutorialInPort";
}
else
{
NextDiag.TempNode = "SoBuyTheFuckingGlass";
dialog.text = DLG_TEXT[150];
link.l1 = DLG_TEXT[151];
link.l1.go = "Exit";
link.l2 = DLG_TEXT[152];
link.l2.go = "ContinueWithoutSpyglass";
link.l3 = DLG_TEXT[153];
link.l3.go = "Skip_TutorialInPort";
}
break;
case "ContinueWithoutSpyglass":
dialog.text = DLG_TEXT[154];
link.l1 = DLG_TEXT[155];
link.l1.go = "GoToStore";
link.l2 = DLG_TEXT[156];
link.l2.go = "Skip_TutorialInPort";
break;
case "GoToStore":
AddDialogExitQuest("Tut_ReloadToOxbay");
dialog.text = DLG_TEXT[157];
link.l1 = DLG_TEXT[158];
link.l1.go = "Exit";
break;
The dialog runs succesfully until case "GoToStore", but when it's over, the character is stuck in position, unable to move. I can't figure it out what is wrong.
Any help you're most wellcome.
Last edited: