Jump to content

changing the eye texture using a magic effect.


sMooDi31

Recommended Posts

Hi,

 

I am new to modding, and i was trying to apply a custom texture "MaleEyeHumanRed" to my character using a Script-type magic effect ,and this is what the script looks like :

Scriptname RedEyes extends ActiveMagicEffect  
Function SetEyeTexture(TextureSet MaleEyeHumanRed) native
event oneffectstart(Actor akTarget, Actor akCaster)
TextureSet MaleEyeHumanRed
akCaster.SetEyeTexture(MaleEyeHumanRed)
EndEvent
Event OnEffectFinish(Actor akTarget, Actor akCaster)
TextureSet EyesMaleHumanIceBlue
akCaster.SetEyeTexture(EyesMaleHumanIceBlue)
EndEvent

but when i run Skyrim and cast the spell that has this magic effect, nothing happens.

 

is the problem in the script ? if so then what is it , please help.

 

thanks in advance.

Link to comment
Share on other sites

  • 2 years later...

I know that this is a dead topic, but if anyone is reading this: The function SetEyeTexture() seems to be bugged. For me ,it works in dialogue fragments, but not in other scripts. If anyone with more experience can give further insight, feel free to reply.

Edited by hadun9999
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...