So I thought I might try to add the same transparency the stealth NPCs get in my mod, to the 24 hour powers of the player if the player chooses to drink the Berne blood potion, I figured it would add to the immersion, and combined with fortify sneak would be the closest thing to ever getting chameleon back. For the stealth NPCs in my mod it isn't an issue really if they are constantly transparent. For the player that's a different matter entirely though. Even though it appears to have a duration, the player is permanently transparent after casting the spell.
The script involving the spell exists in the default game, but since I believe I need to alter it, I am going to need a duplicate copy of the script to avoid messing with default game stuff. If I make a duplicate renamed copy of this script, see where it says "{Check this if you do not want to return to normal after the spell ends}"? That makes me suspect an altered renamed duplicate of this script, is going to be needed to make this work, although I'm really bad at scripting. So anyways, can someone who knows scripting better than me, please make a slightly altered version of this that I can copy and paste to make the script I need for this to work properly?
So here is the script in question.
{Scripted effect Setting the Alpha of an Actor and back}
;======================================================================================;
; PROPERTIES /
;=============/
float property AlphaValue = http://forums.bethsoft.com/topic/1470270-ghost-visual-effect-wont-wear-off-script-help/1.0 auto
{Alpha Value the target will be faded to.}
Bool property FadeToAlpha = False auto
{Do we fade the alpha to the value over time?}
Bool property DontFadeBack = False auto
{Check this if you do not want to return to normal after the spell ends}
;======================================================================================;
; EVENTS /
;=============/
Event OnEffectStart(Actor Target, Actor Caster)
If AlphaValue != 1.0 ;Do we have any data?
Target.SetAlpha (AlphaValue, FadeToAlpha)
EndIf
EndEvent
Event OnEffectFinish(Actor Target, Actor Caster)
if DontFadeBack == False
If AlphaValue != 1.0 ;Do we have any data?
Target.SetAlpha (1.0, FadeToAlpha)
EndIf
endif
EndEvent