Im working on a spell mod were you hit the npc with a spell and it instantly follows you for 30s. Im having trouble with the script. The npc has no reaction to the spell at all. somebody help me
heres my script
Scriptname BrainwashScript extends ActiveMagicEffect
Event OnEffectStart(Actor Target, Actor Caster)
Target.AddToFaction(CurrentFollowerFaction)
Target.SetFactionRank(CurrentFollowerFaction, 1)
EndEvent
Event OnEffectFinish(Actor Target, Actor Caster)
Target.RemoveFromFaction(CurrentFollowerFaction)
EndEvent
Faction property CurrentFollowerFaction auto
This is my second mod and I uploaded my first one yesterday so I aint got much experience.



Sign In
Create Account

Back to top








