04-11-2013, 04:49 PM
Join Date: Mar 2013
Location: I'm lost.
Current Game: Modding.. Wait is that a game?
Originally Posted by Fair Strides 2
You might experiment with these functions, though I'd backup a saved game first since, IIRC one function will remove the person with their data intact, and another will make it as if they were never in your party(i.e: their default level, skills, powers, and equipment).
// 575: Removes a creature from the party
// Returns whether the removal was syccessful
int RemovePartyMember(int nNPC);
// 573: Remove oPC from their current party. This will only work on a PC.
// - oPC: removes this player from whatever party they're currently in.
void RemoveFromParty(object oPC);
These are the same for both games. Also, there could be better methods in one of the include files, but I don't have access to those files right now.
Thanks i will try thoose out asap.
Current WIP: Learning to mod Kotor
quote & reply,