Jump to content

help With A Script


biblo

Recommended Posts

Trying to follow this guide to learn about scripting and such.

My link

Did what he said but it won't save. he says if it don't close something is wrong, I hit save and nothing happens.

Can someone tell me what is wrong with it. It is set as object.

scn BibScript

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 FollowerSwitchAggressive to 0
	Set Waiting to 0
	Set Relax to 0
	Set DoOnce to 1
EndIf
End

Link to comment
Share on other sites

Possible syntax errors? I'm not sure, try this.

 

scn BibScript

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 FollowerSwitchAggressive to 0
               Set Waiting to 0
               Set Relax to 0
               Set DoOnce to 1
       EndIf
End

 

I use the exact same script myself so that's the only problem I could imagine there'd be.

Link to comment
Share on other sites

Is there a way to move it left or right. I can make it turn or go in and out. when I zoom in it goes off to right of my screen and i can't see it.

 

NVM hold mouse wheel down. I am gettting hang of it.

Edited by biblo
Link to comment
Share on other sites

  • Recently Browsing   0 members

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