PDA

View Full Version : Bao-Dur an available party member.


Master Zionosis
06-20-2007, 09:48 PM
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, 01:18 AM
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, 08:25 AM
Wicked thanks Deathdisco, I'll just try that out now.