Head Texture and Tint change (Scripting help)

Post » Mon Nov 19, 2012 4:48 pm

I've been trying to write a script for a spell that changes the player into a demon race. Up to now it has been successful so far as it changes the race stats and the body texture. What it does not do is change the head texture and parts and the tint of the body texture. I have already posted this in the Nexus Forum but no one could help me with this problem so far. I hope for someone here.

This is the script so far:

Scriptname QQDemonSkinScript extends activemagiceffectRace Property DemonRace autoRace Property PlayerRace autoEvent OnEffectStart(Actor Target, Actor Caster)if (Target == None)returnendifPlayerRace = Target.GetActorBase().GetRace()if (PlayerRace != PolymorphRace)Game.ShakeCamera(afStrength = 0.5,afDuration = 1)Target.SetRace(DemonRace)endifEndEventEvent OnEffectFinish(Actor Target, Actor Caster)if (Target == None)returnendifTarget.SetRace(PlayerRace)

I guess there must be a seperate function for tint and head parts/texture but I can't find out which.
User avatar
Josephine Gowing
 
Posts: 3545
Joined: Fri Jun 30, 2006 12:41 pm

Return to V - Skyrim