Talk:SetOutfit - Actor

From the CreationKit Wiki
Jump to navigation Jump to search

NPC put off clothes[edit source]

I want my NPC to put off her clothes to bath in a lake and to put them on again when she's done. No matter if I use (Un)EquipItem or SetOutfit, I'll get the message that it "is not a function or does not exist."

What am I doing wrong?

Fering Ghost (talk) 17:25, 12 July 2012 (EDT)

This is an ActorBase Function, not an actor function, so:

Prisoner.SetOutfit(RagsOutfit)

Does not compile for me either. But this does compile, and works ok:

Prisoner.GetActorBase().SetOutfit(RagsOutfit)