TheShadow208 Posted March 26, 2014 Share Posted March 26, 2014 Okay so, I've been wanting to start making mods, and I know how to roughly do it, but I'm trying to add a companion wheel to my companion I've already made, and when I try to save my script I get a error no matter how I write the script, and I used a script that I saw someone else use, and theirs worked and saved perfectly.. Mine Is wrote exactly the same... What am I doing wrong..? ___________________________________________________________________________________________________________ scn JamisonScript short HasBeenHired short L38 short DoOnce int CombatStyleRanged int CombatStyleMelee int IsFaulowingDefault int IsFollowingLong int FollowerSwitchAgressive 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 FollwerSwitchAgressive to 0 Set Waiting to 0 Set DoOnce to 1 Endlf End ___________________________________________________________________________________________________________ Can anyone please show me any errors I am making please? Link to comment Share on other sites More sharing options...
jazzisparis Posted March 26, 2014 Share Posted March 26, 2014 You have several typos and a syntax error you need to fix: line #9, #15 (remove the square brackets), #22 and #25. Link to comment Share on other sites More sharing options...
AxlDave Posted March 26, 2014 Share Posted March 26, 2014 As jazzisparis mentioned: #9 int IsFaulowingDefault to int IsFollowingDefault#15 If [DoOnce !=1] to if ( DoOnce != 1 )#22 Set FollwerSwitchAgressive to 0 to set FollowerSwitchAgressive cannot see the problem with line #25, unless that I is actually an L... Link to comment Share on other sites More sharing options...
ArekkusuStorm Posted March 26, 2014 Share Posted March 26, 2014 (edited) While you're at it, aggressive is spelt with two Gs. Of course, that only starts mattering if you have two similar variables but one doesn't exist. IE, 'FollowerSwitchAggresive' used in one place and 'FollowerSwitchAgressive' in another but the aggresive one not being err created at the beginning. Edited March 26, 2014 by ArekkusuStorm Link to comment Share on other sites More sharing options...
unoctium Posted March 26, 2014 Share Posted March 26, 2014 That's quite a few spelling mistakes. I guess you are following oGrayFox's tutorial or the Companion Creation tutorial. If you can't look over your scripts for the most basic spelling errors before coming here, or even take steps to 'understanding' what you are doing, then this might be worth a rethink. Even those tutorials require you to develop a working understanding. Link to comment Share on other sites More sharing options...
Recommended Posts