Jump to content

Photo

make follower spell

spell follower papyrus script

  • Please log in to reply
No replies to this topic

#1
Junglemaster

Junglemaster

    Regular

  • Members
  • PipPip
  • 55 posts

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.
 






Also tagged with one or more of these keywords: spell, follower, papyrus, script

Page loaded in: 1.090 seconds