View Single Post
Old 10-20-2012, 10:23 AM   #8
Ferc Kast
Modder
 
Ferc Kast's Avatar
 
Join Date: Jan 2007
Location: Tython
Posts: 1,585
Current Game: The Old Republic
Helpful! Forum Veteran Contest winner - Fan Fiction Veteran Modder 
This should be exactly what you're looking for.

Code:
void main()
{
	 string sRobe = "clothes_uti_name_here";
	 object oPC = GetFirstPC();
	 AssignCommand(oPC, ActionEquipItem(CreateItemOnObject(sRobe, oPC, 1, TRUE), INVENTORY_SLOT_BODY, TRUE));
}

Ferc Kast is offline   you may: quote & reply,