View Single Post
Old 12-06-2012, 08:03 PM   #264
Fallen Guardian
@Fallen Guardian
Wandering the Galaxy...
Fallen Guardian's Avatar
Join Date: Aug 2010
Location: Unknown Regions
Posts: 1,294
Current Game: XCOM 2
Veteran Modder  Helpful! 
Originally Posted by Fair Strides 2 View Post
This for Dantooine Tension or some other project?
You'll just have to wait and see.

And now I have a new problem. Okay, so I've been trying to unequip Carth and Bastila's armor and put clothing on them, however when I try to run this it crashes to desktop. Any idea what's going on?

void main()

object oPM1 = GetObjectByTag("Carth");
object oPM2 = GetObjectByTag("Bastila");

object oPC = GetFirstPC();
object oArmor = GetItemInSlot(INVENTORY_SLOT_BODY, oPM1);
object oArmorB = GetItemInSlot(INVENTORY_SLOT_BODY, oPM2);
object oArm = CreateItemOnObject("g_a_clothes01", oPM1);
object oArmB = CreateItemOnObject("g_a_clothes01", oPM2);

AssignCommand(oPM1, ClearAllActions());
    AssignCommand (oPM1, ActionUnequipItem(oArmor, INVENTORY_SLOT_BODY));
    AssignCommand (oPM1, ActionEquipItem(oArm, INVENTORY_SLOT_BODY));
    AssignCommand(oPM2, ClearAllActions());
    AssignCommand (oPM2, ActionUnequipItem(oArmorB, INVENTORY_SLOT_BODY));
    AssignCommand (oPM2, ActionEquipItem(oArmB, INVENTORY_SLOT_BODY));


The truly fallen cannot return to the light. If someone "falls" and "returns," they never really, truly fell.

Current Work in Progress: Dantooine Tension

Released Works
Blaster Pistol Enhancement
Dustil Restoration
Ebon Hawk Texture Enhancement
Gaffi Stick Improvement
Weapon Model Overhaul Texture Rework (Thanks to Toasty Fresh!)
Sunry Murder Recording Enhancement
VP's Hi Poly Tin Cans - KotOR 1 Version
Fallen Guardian is offline   you may: quote & reply,