Dumb dialogue question

Discussion in 'General Modification' started by Shiningted, Jun 25, 2016.

Remove all ads!
  1. Shiningted

    Shiningted I want my goat back Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,654
    Likes Received:
    352
    Does anyone know an easy way to check if the PC is alone in the party, vs if there is more than one person?

    {11}{Hi it's me.}{}{1}{pc == alone}{20}{}
    {12}{Hit its us.}{}{1}{pc != alone}{20}{}

    Simple question but my brain is full.
     
  2. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,029
    Likes Received:
    42
    game.party_size() == 1
     
  3. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,613
    Likes Received:
    537
    I think party_size will also count AI followers (summons, charmed, animal companions etc.), so be careful if you want to make an exception for those.
     
  4. Allyx

    Allyx Master Crafter Global Moderator Supporter

    Joined:
    Dec 2, 2004
    Messages:
    5,001
    Likes Received:
    250
    If this is for a IWD dialogue as I suspect, bare in mind that in IWD player characters can be split into selected groups and each group can be instructed to transition to different maps, whereas in ToEE they can't. IE you can select your rogue and use a door icon to enter a building with that character alone if desired... which isn't possible in ToEE.
     
  5. Shiningted

    Shiningted I want my goat back Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,654
    Likes Received:
    352
    No, I just need a '1 or more than 1' scenario, even if it's your faithful chicken companion. Thanks Gaear.

    EDIT: Gah, ninja'd by Allyx. Yes this is for IWD. but will we be implementing that sort of thing? I mean I can do a "find if party is nearby' scenario, that's easy enough, but map changes without the whole party will be ever so slightly more difficult.

    (I remember that in BG, sending one guy loaded up with anti-spider gear alone into a basement to kill something for a quest).
     
  6. Allyx

    Allyx Master Crafter Global Moderator Supporter

    Joined:
    Dec 2, 2004
    Messages:
    5,001
    Likes Received:
    250
    I don't know if sending a single party member, or a small portion of the party into a different map from the remaining members is possible in ToEE, or even if that scenario is required in IWD at any point... I've really not gotten that far into the game to know. :(
     
  7. sirchet

    sirchet Force for Goodness Moderator Supporter

    Joined:
    Dec 6, 2003
    Messages:
    3,721
    Likes Received:
    49
    I am yet to split the party in IWD on any of my playthroughs.
     
Our Host!