Jump to content

Game engine - InParty trigger


Recommended Posts

Posted

I would like to know more about InParty trigger.
First of all, it checks if the X in InParty(X) is in the party, no revolution.

If X is not in party, does the trigger necessarily return false?
No? It looks about an other variable and certain conditions in the game engine - but it's not clear to me - the trigger can return true.
I would like to know more about this condition. Is it be possible for the InParty(X) trigger to return true if X is not in the party ?

Any information on this can help me

Thanks,

Posted

There's three cases to the trigger:

1) X matches an object, and this object has a portrait, (is one of the 6 main party members). The trigger returns true.

2) X matches an object, and this object does not have a portrait, (is not one of the 6 main party members). If the object is part of the overflow list, (i.e. is joining the party, but causes the conflict GUI panel to open because there are too many party members), the trigger returns true.

3) X doesn't match an object. If X is an object selector, (e.g. [0.0.ELF]), the trigger returns true if a character in the party satisfies the selector. Object selectors otherwise aren't evaluated by the trigger meaning they don't do their normal thing of returning a nearby creature from the area.

0x4043 InParty() disallows the object from being dead, 0x40D3 InPartyAllowDead() allows the object to be dead.

Posted

The overflow list… Hoo!
Yeah, a party can have more than 6 members, at least for a limited time.
While the conflit GUI panel is open, all 7 characters are considered to be in the party.
Interesting…

Thank you very much Budd for your exhaustive message.

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...