void CreateItemOnObjectVoid(string sItemTemplate, object oTarget=OBJECT_SELF, int nStackSize=1)
{
CreateItemOnObject(sItemTemplate, oTarget, nStackSize);
}
/* Script generated by
Lilac Soul's NWN Script Generator, v. 2.3
For download info, please visit:
//Put this on action taken in the conversation editor
#include "nw_i0_generic"
void main()
{
object oPC = GetPCSpeaker();
FadeToBlack(oPC, FADE_SPEED_MEDIUM);
object oTessa;
oTessa = GetObjectByTag("Tessa9");
object oKristaly;
oKristaly = GetObjectByTag("Kristaly3");
object oLandon;
oLandon = GetObjectByTag("Landon3");
RemoveHenchman(oPC, oTessa);
RemoveHenchman(oPC, oKristaly);
RemoveHenchman(oPC, oLandon);
object oTarget;
oTarget = GetObjectByTag("ScourgeChest");
object oItem;
oItem = GetFirstItemInInventory(oPC);
while (GetIsObjectValid(oItem))
{
DelayCommand(1.5,AssignCommand(oTarget, ActionTakeItem(oItem, oPC)));
oItem = GetNextItemInInventory(oPC);
}
int nInt;
for (nInt=0; nInt<NUM_INVENTORY_SLOTS; nInt++)
{
oItem = GetItemInSlot(nInt, oPC);
if (GetIsObjectValid(oItem))
DelayCommand(1.5,AssignCommand(oTarget, ActionTakeItem(oItem, oPC)));
}
DelayCommand(1.5,AssignCommand(oTarget, TakeGoldFromCreature(GetGold(oPC), oPC)));
DelayCommand(1.7,AssignCommand(oPC, ClearAllActions()));
DelayCommand(1.8, CreateItemOnObjectVoid("slavecostume", oPC));
DelayCommand(2.2, AssignCommand(oPC, ActionEquipItem(GetItemPossessedBy(OBJECT_SELF, "SlaveCostume"), INVENTORY_SLOT_CHEST)));
DelayCommand(2.7,AssignCommand(oPC, ActionJumpToObject(GetObjectByTag("WP_PCScourgeCell"))));
DelayCommand(3.0,FadeFromBlack(oPC, FADE_SPEED_SLOW));
}
This is the code. Sorry if this isn't in the right format. Not sure how to make it easy to read or make it smaller