Robespierre Posted March 25, 2008 Share Posted March 25, 2008 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. Thanks. Link to comment Share on other sites More sharing options...
stoffe Posted March 25, 2008 Share Posted March 25, 2008 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 More sharing options...
Robespierre Posted March 26, 2008 Author Share Posted March 26, 2008 Thanks a lot! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.