Hello! Im making a mod, (or at least trying to) And I would like the mod to turn the player into a Wraith (using Ethereal FX) when crouched. I know I need to write a script for this, But I have no idea what I'm doing. Here's what I have so far
Event OnInit()
If Game.Getplayer().IsSneaking()
WraithBind.Cast(Game.GetPlayer())
endIf
EndEvent
"Wraith Bind" Is the name of the spell I created with the effects. yet, The magic effect itself still needs the code so this only happens while sneaking. I have it so when I equip the ring It turns me Ethereal ALLL the time. Not only when I'm sneaking. Thanks so much for any help. And keep in note, I'm a beginner. Thanks again!!!
(Yes I did post the same thing on reddit, I nEeD sOmE hElP)