LucasForums

LucasForums (http://www.lucasforums.com/index.php)
-   Holowan Laboratories (http://www.lucasforums.com/forumdisplay.php?f=324)
-   -   Bao-Dur an available party member. (http://www.lucasforums.com/showthread.php?t=179676)

Master Zionosis 06-20-2007 09:48 PM

Bao-Dur an available party member.
 
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:
Quote:

// 696. IsAvailableNPC
// This returns whether a NPC is in the list of available party members
int IsAvailableCreature( int nNPC );
So possibly:
Code:

int StartingConditional()
{
    return(IsAvailableCreature(1));
}


Master Zionosis 06-21-2007 08:25 AM

Wicked thanks Deathdisco, I'll just try that out now.


All times are GMT -4. The time now is 07:18 PM.

Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2011 - All rights reserved.