• 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!

Help with a code problem

marrbodude

Sailor Apprentice
I am trying to get the flying dutchman sail to work in the shipyard.
With this line added the game will not start and when it do start I can not get the to open dialog in the ship yard.

SetShipSailsFromFile(PChar, "ships\parus_common_torn.tg"); // Ïàðóñà ËÃ

This how it look

case "FlyingDutchmanSails_SetDuchman":
iSumm = (10 / iShipClass) * iRank * MOD_SKILL_ENEMY_RATE * 10; // Öåíà çà óñòàíîâêó ïàðóñîâ

AddMoneyToCharacter(PChar, -iSumm);

dialog.text = DialogText("Wonderful! We'll do it in the best shape.");
Link.l1 = DialogText("Thank you.");
Link.l1.go = "exit";

SetShipSailsFromFile(PChar, "ships\parus_common_torn.tg"); // Ïàðóñà ËÃ <---- This line

WaitDate("", 0, 0, 0, 1, 30);
break;

Cheer :mm :drunk
 
I am trying to get the flying dutchman sail to work in the shipyard.
With this line added the game will not start and when it do start I can not get the to open dialog in the ship yard.

SetShipSailsFromFile(PChar, "ships\parus_common_torn.tg"); // Ïàðóñà ËÃ

This how it look

case "FlyingDutchmanSails_SetDuchman":
iSumm = (10 / iShipClass) * iRank * MOD_SKILL_ENEMY_RATE * 10; // Öåíà çà óñòàíîâêó ïàðóñîâ

AddMoneyToCharacter(PChar, -iSumm);

dialog.text = DialogText("Wonderful! We'll do it in the best shape.");
Link.l1 = DialogText("Thank you.");
Link.l1.go = "exit";

SetShipSailsFromFile(PChar, "ships\parus_common_torn.tg"); // Ïàðóñà ËÃ <---- This line

WaitDate("", 0, 0, 0, 1, 30);
break;

Cheer :mm :drunk

In witch file this coding is? and also can you give us more info about your problem?

Cheers, :cheers
 
@ Estharos

Thank for the reply. I forgot i post this question. I fix the problem. Its to get the flying dutchman sail to show up in the shipyard
to be purchase. As you can see i got it in game.

buysail.jpg


Cheer :cheers
 
Back
Top