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

Nigel Blythe fired bugfix

CatalinaThePirate

Unholy Terror,
Storm Modder
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" /> all!

I was working on my Fred Bob quest, tidying up some loose ends before making it ready to release (whooHOO!), and I found something in

<b>PotCPROGRAMQUESTSquests_reaction.c</b>

that MIGHT be the reason for Nigel just standing rooted in one spot for the rest of the game, after you fire him (if you fire him before the end of the quest).

Here is the code block:

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->  case "Nigel_dissmissed_2":

     homelocation = characters[GetCharacterIndex("Nigel Blythe")].homelocation;

     homegroup = characters[GetCharacterIndex("Nigel Blythe")].homelocation.group;

     homelocator = characters[GetCharacterIndex("Nigel Blythe")].homelocation.locator;

     ChangeCharacterAddressGroup(characterFromID("Nigel Blythe"), homelocation, homegroup, homelocator),

     characters[GetCharacterIndex("Nigel Blythe")].dialog.currentnode = "Fired";

 break;<!--c2--></div><!--ec2-->

This line:

ChangeCharacterAddressGroup(characterFromID("Nigel Blythe"), homelocation, homegroup, homelocator),

Should be:

ChangeCharacterAddressGroup(characterFromID("Nigel Blythe"), homelocation, homegroup, homelocator); <span style='color:red'><-- note the semicolon instead of the comma!</span>

Now I have no time to test this but it just might make a difference. Heh, if anyone really cares, haha! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />

Just thought I'd mention it. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
Back
Top