Jump to content

Follower Problem


Petemichaelbabicki

Recommended Posts

I've setup a custom follower package and custom dialogue (I wanted a follower like Serana, that couldn't be dismissed or told to do things), so I figured I'd use a global variable and just switch it on and off with conditions whenever I needed her to follow me. Here is my code;

 

GlobalVariable Property IsNameFollower Auto
If IsNameFollower != 1
IsNameFollower.SetValue(1)
akSpeaker.EvaluatePackage()

Else
debug.notification("Error")
Endif
 

and here is the error I'm getting;

 

Starting 1 compile threads for 1 files...
Compiling "TIF__030A7365"...
C:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__030A7365.psc(9,0): no viable alternative at input 'GlobalVariable'
C:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__030A7365.psc(9,24): no viable alternative at input 'IsNameFollower'
No output generated for TIF__030A7365, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on TIF__030A7365
 

Any help would be much appreciated. Papyrus isn't my strong point, but I'm getting there.. slowly.


Edited by Petemichaelbabicki
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...