biblo Posted October 14, 2012 Share Posted October 14, 2012 Trying to follow this guide to learn about scripting and such.My linkDid 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 More sharing options...
Mishaxhi Posted October 14, 2012 Share Posted October 14, 2012 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 More sharing options...
biblo Posted October 14, 2012 Author Share Posted October 14, 2012 that one didn't close either, but both did save. I can go to a npc and put my script on it. I guess that means it worked? Link to comment Share on other sites More sharing options...
Mishaxhi Posted October 14, 2012 Share Posted October 14, 2012 If a script closes without a pop up asking "do you want to save this script" then it's compiled properly. Link to comment Share on other sites More sharing options...
biblo Posted October 14, 2012 Author Share Posted October 14, 2012 (edited) thx in the preveiw window how do you zoom in? Edited October 14, 2012 by biblo Link to comment Share on other sites More sharing options...
Mishaxhi Posted October 14, 2012 Share Posted October 14, 2012 Mouse wheel. Link to comment Share on other sites More sharing options...
biblo Posted October 14, 2012 Author Share Posted October 14, 2012 (edited) 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 October 14, 2012 by biblo Link to comment Share on other sites More sharing options...
Recommended Posts