Jump to content

GECK Companion Script Help


TheShadow208

Recommended Posts


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

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

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 by ArekkusuStorm
Link to comment
Share on other sites

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

  • Recently Browsing   0 members

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