Jump to content

Home

Script that checks part member


Mindtwistah

Recommended Posts

There are two scripts you can use, one checks if T3M4 is in the current active party, and the other checks if T3M4 is available to be chosen in the party selection screen, you didn't state which so i posted both.

 

Below is the script that checks if T3M4 is available to be chosen at the party screen.

 

// This returns whether a NPC is in the list of available party members
int StartingConditional() {
return IsAvailableCreature(NPC_T3M4);
}

 

There are already preset scripts for both K1 and K2 which checks for party members in the current active party, you didn't say which game it is for so I'll put both:

 

K1: "k_con_t3m3pm" (without the quotes and it's NOT a typo)

K2: "c_con_t3m4pm" (without the quotes)

 

Hope this helps.

Link to comment
Share on other sites

It's for K1.

 

What if I want to check if an NPC is in my current active party?

For example, I make an own recruitable NPC that will replace T3-M4. His tag and resref is "myNPC".

 

I told you how to do that for K1, there is already a preset script for both games, for K1 it's "k_con_t3m3pm" (without the quotes), Also you can't replace an original party member with your own tag, it will cause mega problems like clones appearing on the Ebon Hawk of your NPC, in order to get around that you have to use T3M4's tag for your NPC.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...