eNoodles

Members
  • Content Count

    78
  • Joined

  • Last visited

  • Days Won

    1

Status Updates posted by eNoodles

  1. GetPartyMemberByIndex() doesn't work?

    Had the worst night ever scripting a little cutscene (so many bugs and limitations+my unorganization), and was wondering why my party members weren't doing anything. Tried using GetObjectByTag for the specific companions I had and everything worked...

    So is GetPartyMemberByIndex the problem? What alternative is there?

    1. Show previous comments  4 more
    2. JCarter426

      JCarter426

      That's strange, but it really wouldn't surprise me if those functions don't work in cutscenes. GetPartyMemberByIndex() I know relies on whom you're controlling (like when you switch control to use Trask to open the door) and you quite possibly aren't "controlling" anybody in a cutscene. I would've thought GetNexPC() wouldn't have that issue but perhaps not.

      Here's something else to try:

      object oPC = GetFirstPC();
      object oPM1 = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, 
                    PLAYER_CHAR_NOT_PC, oPC, 1, -1, -1, -1, -1);
      object oPM2 = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, 
                    PLAYER_CHAR_NOT_PC, oPC, 2, -1, -1, -1, -1);

       

    3. eNoodles

      eNoodles

      That works! Thanks

    4. JCarter426

      JCarter426

      Cool. Funny that such a roundabout method was needed, but good to know.

  2. Wasn't expecting this kind of remark from MISSION of all people about a twi'lek slave...160928465_Screenshot(9).thumb.png.c7ffe8e0efa7147647226e9fac51868e.png

    1. Show previous comments  1 more
    2. DarthParametric

      DarthParametric

      Given they are just generic NPCs used everywhere, either it's a meta comment on aliens all looking alike to humans, or Mission needs to get her eyes checked. Or maybe she just has low standards. She is a street urchin after all. Someone that has bathed at least once in the previous month is probably not something she regularly comes across.

    3. eNoodles

      eNoodles

      Generic NPCs, you say? I don't remember seeing male twi'lek slaves anywhere other than Davik's estate. Plus, she refers specifically to Davik.

    4. LDR

      LDR

      He means the green twi'lek model that is used for various named and unnamed NPCs throughout the game.