Darth-me
Landlubber
Ok, so far I'm making the first chapter of Midshipman Hornblower, where he's onboard the ship (what's it called again) at anchor in Spithead. (this section will be very condensed). You will have no ship of your own (somehow), if anyone could tell me how, I'd be very happy. I'm thinking either dock it at some other random port, but then it would appear on your ship page, or just not allow you to sail the ship.
Here's the code:
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space
re;overflow:auto'>// Hornblower Quest -->
case "Hornblower_start":
SetEnterLocationQuest("Tutorial_Deck", "Hornblower_start_check", 0);
break;
case "Hornblower_start_check":
if(pchar.name == "Horatio" && pchar.lastname == "Hornblower")
{
PChar.quest.Hornblower = "The_Midshipman_Berth";
}
break;
case "Go_to_Duel":
PChar.quest.Hornblower = "Duel";
DeleteEnterLocationQuest("Tutorial_Deck", "Hornblower_start_check");
//SetQuestHeader("Hornblower_quest");
Pchar.quest.Hornblower_Duel.win_condition.l1 = "location";
Pchar.quest.Hornblower_Duel.win_condition.l1.location = "redmond_port";
PChar.quest.Hornblower_Duel.win_condition = "Hornblower_Duel";
break;
case "Chris_Ship_Search":
AddPartyExp(pchar, 100);
</div>
So, can anyone tell me if that's right?
But when I try to load the game, it crashes, then points me (in the error log) to a line miles from where i was working, and says:
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space
re;overflow:auto'>COMPILE ERROR - file: quests\quests_reaction.c; line: 15974
Duplicate variable name: iNation
</div>
Thanks
Here's the code:
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space

case "Hornblower_start":
SetEnterLocationQuest("Tutorial_Deck", "Hornblower_start_check", 0);
break;
case "Hornblower_start_check":
if(pchar.name == "Horatio" && pchar.lastname == "Hornblower")
{
PChar.quest.Hornblower = "The_Midshipman_Berth";
}
break;
case "Go_to_Duel":
PChar.quest.Hornblower = "Duel";
DeleteEnterLocationQuest("Tutorial_Deck", "Hornblower_start_check");
//SetQuestHeader("Hornblower_quest");
Pchar.quest.Hornblower_Duel.win_condition.l1 = "location";
Pchar.quest.Hornblower_Duel.win_condition.l1.location = "redmond_port";
PChar.quest.Hornblower_Duel.win_condition = "Hornblower_Duel";
break;
case "Chris_Ship_Search":
AddPartyExp(pchar, 100);
</div>
So, can anyone tell me if that's right?
But when I try to load the game, it crashes, then points me (in the error log) to a line miles from where i was working, and says:
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space

Duplicate variable name: iNation
</div>
Thanks