SKSE's setSkin or what else to use?

Post » Sun Aug 31, 2014 1:15 pm

Hi,

I'm trying to use getFormFromFile and if DG is present replace some animals with some from the DLC, otherwise leave them as vanilla or no spawn. I'm interested just in the looks no more, no less.

What I tried was:

ActorBase SabreCatVale = (Game.GetFormFromFile(0x00003c67, "Dawnguard.esm") as ActorBase)if (SabreCatVale)	Debug.Notification("Adding vale sabre cat")	SabreCatValeWannabe.setSkin(SabreCatVale.getSkin())	SabreCatValeWannabe.setSkinFar(SabreCatVale.getSkinFar())endIf

Unfortunately my spawned cat from that base after the code ran looked as in vanilla, no vale.

Did I got something wrong? What can I do to achieve what I want? (getFormFromFile and SKSE, no DG as a master solution please)

Thanks

User avatar
Kristian Perez
 
Posts: 3365
Joined: Thu Aug 23, 2007 3:03 am

Return to V - Skyrim