i have a very simple setup where an NPC has a work shift at a very specific spot and he sits there for 8 hours a day. So what I did was create a trigger box around the work area so that when the NPC enters it he changes to his work clothes.
Scriptname NPCWorkScript extends ObjectReference Actor Property NPC Auto Outfit Property NPCOutfit Auto Event OnTriggerEnter(ObjectReference akActionRef)If akActionRef == NPC NPC.SetOutfit(NPCOutfit)endIfEndEvent
everything compiles. and I even tried putting in a debug to make sure the NPC is triggering the box and it does, but it simply wont change to the new outfit. any ideas?