Hello everyone,
I am making a creature follower, that when following the player grants a "buff" to the player. For example; Flame atronach becomes a follower, player gets a resist fire ability.
I have the creature set up, I have the ability set up.
However when I compile my scripts I get a "variable [spell name] is undefined" How do I solve this?
Here is the script that fires when dismissed (i.e removes the spell.)
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment;NEXT FRAGMENT INDEX 0Scriptname AstraDismiss Extends TopicInfo Hidden;PROPERTYQuest Property pDialogueFollower Auto;FUNCTIONFunction Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor (pDialogueFollower as DialogueFollowerScript).DismissAnimal() game.getplayer().removespell(Astra_ab)EndFunction;END FRAGMENT CODE - Do not edit anything between this and the begin comment