Ltstrom Posted June 14, 2010 Share Posted June 14, 2010 Hey guys i am working on a mod but i am having trouble with some scripting, i am using OBSE construction set and i want to make a mod that is a demonic transformation and a spell that can change the eye color/ type for a given time(like in naruto the sharingan type of thing). now i am having the trouble that when i try to change the eyes it doesn't work, the magic effects work fine but the eye color change doesn't it stays the normal color of my character now, i think i am not scripting it right or i have missed some steps that needs to be done to achieve the effect and it would be great i could get some tutorials or links or something. i am stuck and i would appreciate the help :) Link to comment Share on other sites More sharing options...
Skevitj Posted June 14, 2010 Share Posted June 14, 2010 On 6/14/2010 at 10:12 AM, Ltstrom said: Hey guys i am working on a mod but i am having trouble with some scripting, i am using OBSE construction set and i want to make a mod that is a demonic transformation and a spell that can change the eye color/ type for a given time(like in naruto the sharingan type of thing). now i am having the trouble that when i try to change the eyes it doesn't work, the magic effects work fine but the eye color change doesn't it stays the normal color of my character now, i think i am not scripting it right or i have missed some steps that needs to be done to achieve the effect and it would be great i could get some tutorials or links or something. i am stuck and i would appreciate the help :) How are you doing it? SetEyes? http://cs.elderscrolls.com/constwiki/index.php/SetEyes"Changes to the player may not be visible until the game is reloaded." You need to force it to redraw the player. Link to comment Share on other sites More sharing options...
Ltstrom Posted June 15, 2010 Author Share Posted June 15, 2010 okay i have found that the script works and that the player eyes change when the game is reloaded but how can i make the game force a redraw as the vampism hack is unavailable in the link given , is there a script line that can be written to make it work? Link to comment Share on other sites More sharing options...
Skevitj Posted June 15, 2010 Share Posted June 15, 2010 On 6/15/2010 at 6:20 AM, Ltstrom said: okay i have found that the script works and that the player eyes change when the game is reloaded but how can i make the game force a redraw as the vampism hack is unavailable in the link given , is there a script line that can be written to make it work? It wouldn't be a single line, tad more complicated than that. I can't remember off the top of my head how the vamp fix worked. Just adding the vampire effect to the player then removing it a line later may force a redraw, dunno though, It's something you'd have to experiment with. Link to comment Share on other sites More sharing options...
Recommended Posts