1. Dismiss Notice
  2. GOG.com logo

    Thanks to YOUR votes, GOG.com now sells:
    - Sea Dogs - Sea Dogs: Caribbean Tales
    - Sea Dogs: City of Abandoned Ships

    Vote now to add Pirates of the Caribbean to the list!

    Dismiss Notice
  3. Under the Crossbones Podcast

    A Pirate Podcast with Interviews
    Music, Comedy and all things Pirate!

    - Episode Guide - About - Subscribe -
    - Twitter - Facebook - iTunes - Android -
    - Youtube - Fill the Coffers -

    Dismiss Notice
  4. New Horizons logo

    Quick links for PotC: New Horizons
    - Download latest version
    - Wiki - FAQ - Report bugs here
    - ModDB profile

  5. GOF logo

    Quick links for AoP2: Gentlemen of Fortune 2
    - Downloads and info
    - Historical Immersion Supermod
    - ModDB Profile

Dismiss Notice
New to the forum?
Please take a moment to read our Welcome Message and Forum Rules.

Nigel Blythe fired bugfix

Discussion in 'Features Archive' started by CatalinaThePirate, Jun 17, 2004.

  1. CatalinaThePirate

    CatalinaThePirate Unholy Terror, Storm Modder

    Joined:
    Jan 1, 1970
    Messages:
    11,531
    Gender:
    Female
    Occupation:
    Professional Pirate
    Location:
    Lynwood California, USA
    <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" />
     

Share This Page