Jump to content

Script Error.


IronAlpha

Recommended Posts

I'm making a companion mod, and I just put my script in the geck. Now, when I try to close the script editor, it says:

Do you want to save the current Script?

 

Current =

 

Supposedly this means there is an error in the script, but I can't find any error. Maybe What I need is a fresh pair of eyes.

 

The script is as follows:

 

scn MartinScript01

short HasBeenHired
short L38
short Relax
short DoOnce

int CombatStyleRanged
int CombatStyleMelee
int IsFollowingDefault
int IsFollowingLong
int FollowerSwitchAggressive
int Waiting

Begin GameMode
 If [DoOnce !=1]
      Set HasBeenHired to 0
      Set L38 to 0
      Set CombatStyleRanged to 1
      Set CombatStyleMelee to 0
      Set IsFollowingDefault to 0
      Set IsFollowingLong to 0
      Set FollowerSwitchAgressive to 0
      Set Waiting to 0
      Set Relax to 0
      Set DoOnce to 1
    EndIf
End

Link to comment
Share on other sites

  • Recently Browsing   0 members

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