PDA

View Full Version : Script that removes party member


Mindtwistah
07-25-2007, 02:06 PM
What script is there to remove a party member?

Master Zionosis
07-25-2007, 02:45 PM
This is a script you can use

void main() {
RemoveNPCFromPartyToBase(NPC_G0T0);
RemoveAvailableNPC(NPC_G0T0);
}

Obviously you replace G0T0 with the CNPC you want to remove.

Mindtwistah
07-25-2007, 05:11 PM
For K1

Mindtwistah please be aware of Rule #8 (http://www.lucasforums.com/showthread.php?t=127725). ;) -RH

Master Zionosis
07-25-2007, 06:30 PM
For K1

Well, to save the need for more than 1 request state which game it is for in the thread ;)

This will work for K1:

void main()
{
RemoveAvailableNPC(7);
}

BASTILA = 0
CANDEROUS= 1
CARTH = 2
HK_47 = 3
JOLEE= 4
JUHANI= 5
MISSION= 6
T3_M4 = 7
ZAALBAR = 8

Replace the 7 with the NPC you want to replace.