Sorry, I described that wrong. It's supposed to appear that there is a spell being cast, but there really isn't one (that way the NPC is forced to "cast" when entering combat). The script is attached to a person, and when they enter combat, they are given and equip certain armour, then that armor is removed and their old clothes equipped out of combat.
So do you mean like have each piece of clothing equip the old clothing when it's taken off?
Such as attach this to each piece of clothing?
Event OnUnequipped(Actor akActor)
akActor.AddItem(OtherClothesProperty, 2, true)
akActor.EquipItem(OtherClothesProperty)
akActor.RemoveItem(ThisPieceofClothingProperty, 1, true)
endEvent
EDIT:
Thanks a million! Got it to work; I'll post the series of working scripts in the repository in a bit for anybody that wants them
EDIT 2:
Ran into another problem; I'll post if I find a fix