IronAlpha Posted September 8, 2012 Share Posted September 8, 2012 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 More sharing options...
viennacalling Posted September 8, 2012 Share Posted September 8, 2012 Use Cipscis's Script Validator, it can usually catch the easy ones. In this case Set FollowerSwitchAgressive to 0 You are missing a second 'g' in Aggressive. Link to comment Share on other sites More sharing options...
IronAlpha Posted September 8, 2012 Author Share Posted September 8, 2012 Use Cipscis's Script Validator, it can usually catch the easy ones. In this case Set FollowerSwitchAgressive to 0 You are missing a second 'g' in Aggressive. :facepalm: Thanks. This is why I shouldn't write scripts while I'm over tired. Link to comment Share on other sites More sharing options...
Recommended Posts