Jump to content

Home

[TSL] Checking Party Members


Robespierre

Recommended Posts

Just a quick little question: what conditional scripts do I use to check which party members are present in my party? Not currently present with me necessarily, but how do I check that I've recruited someone.

 

If you just want to check if they have joined the group, but not if they're selectable at the time (sometimes they may temporarily be unavailable after having joined) you can use the standard conditional script c_avail_npc.

 

When using that script, set the first script parameter (P1) to the party table slot of the NPC to check for:

0 Atton

1 BaoDur

2 Mand

3 g0t0

4 Handmaiden

5 hk47

6 Kreia

7 Mira

8 T3m4

9 VisasMarr

10 Hanharr

11 Disciple

 

 

If you want to check for more than one, or a particular combo of party members you can use the scripts c_avail_npc_or and c_avail_npc_and to check for more than one. With those scripts the first parameter (P1) is the number of party members to check for, while the remaining parameters (P2 - P5) should be set to the party table slots of the NPCs to check for. (I.e. P1 should match how many of the P2 - P5 parameters are set.)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...