Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Bao-Dur an available party member.

Page: 1 of 1
 Master Zionosis
06-20-2007, 9:48 PM
#1
Hey people, I'm back again (ohh noes), anyway I'm looking for a script that checks if Bao-Dur is an available party member, not necessarily in the party at the current time but if he is able to be picked from the party selection screen. I have found the pre-made script "c_con_baodurpm", but i believe that checks to see if he is in the current party selection, and not if he is pickable as a party member, so if someone can shed some light here, i can finally release my mod :lol:

Thanks again.
 deathdisco
06-21-2007, 1:18 AM
#2
From nwscript:
// 696. IsAvailableNPC
// This returns whether a NPC is in the list of available party members
int IsAvailableCreature( int nNPC );

So possibly:

int StartingConditional()
{
return(IsAvailableCreature(1));
}
 Master Zionosis
06-21-2007, 8:25 AM
#3
Wicked thanks Deathdisco, I'll just try that out now.
Page: 1 of 1