JcHARP Posted June 23, 2009 Share Posted June 23, 2009 I have a script that does not have errors which I would love to test however, when it asks me to save I save but it will not exit out of the script editor. The only way I can exit the script making notepad is by when it asks me to save say no but it does not save at all. Thanks again. Link to comment Share on other sites More sharing options...
Apophilius Posted June 23, 2009 Share Posted June 23, 2009 Why don't you just use the red "x" at the top right of the window? Link to comment Share on other sites More sharing options...
JcHARP Posted June 23, 2009 Author Share Posted June 23, 2009 I am not trying to be mean but if you are a troll and not being genuine then please stop posting nonsense, but if you are genuine then that also does not work as I said nothing in the editor will let me save/exit unless when it prompts me to save I say no. Link to comment Share on other sites More sharing options...
Pronam Posted June 23, 2009 Share Posted June 23, 2009 Try open notepad, or. whatever simple editor you like to use and save it in there for the moment..I guess because of the time that is passed..you already closed/reopend CS....That probably didn't solve it..So... try opening a blank script (new) , preferably with a new name, paste your script inside (get rid of the old name, of course) and see if it will save then. Link to comment Share on other sites More sharing options...
Apophilius Posted June 24, 2009 Share Posted June 24, 2009 I am not trying to be mean but if you are a troll and not being genuine then please stop posting nonsense, but if you are genuine then that also does not work as I said nothing in the editor will let me save/exit unless when it prompts me to save I say no. Uh, yes, you are trying to be mean :thumbsup: I said "use the red x" because I thought you were editing the script in the CS in which case there actually... um... should be a red "x." try editing your script in there if you aren't already. Link to comment Share on other sites More sharing options...
JcHARP Posted June 25, 2009 Author Share Posted June 25, 2009 I am not trying to be mean but if you are a troll and not being genuine then please stop posting nonsense, but if you are genuine then that also does not work as I said nothing in the editor will let me save/exit unless when it prompts me to save I say no. Uh, yes, you are trying to be mean :thumbsup: I said "use the red x" because I thought you were editing the script in the CS in which case there actually... um... should be a red "x." try editing your script in there if you aren't already. I guess its a matter of opinion there, however making a new script then repasteing it seems not to work ethier but here is the script i am trying to make successful. its a modified version of the tut from tescs wiki and i stops working after i add anything else after elseif. SCRIPT ScriptName 001QuestScript Short DoOnce1 Begin Gamemode If (DoOnce1 == 0)AddTopic Message001set DoOnce1 to 1 ElseIf if GetItemCount 001deed == 1addtopic topic003player.additem 001deed -1 EndIfEnd Link to comment Share on other sites More sharing options...
Pronam Posted June 25, 2009 Share Posted June 25, 2009 that is logical, because that only works with else elseif needs something behind it :)....Else, is everything else..and doesn't need any block behind it. elseif if used to simplify scripts, like instead of:if Player.GetItemCount 001deed == 0endif if Player.GetItemCount 001deed == 1endif You only need:if Player.GetItemCount 001deed == 0elseif Player.GetItemCount 001deed == 1endif What has to be done to let your script working is either: changing the elseif into elseor place DoOnce1 == 1 behind it the elseif.Next to that.. there is a dropdown somewhere in the top of the screen (script editor)set it to Quest.. Now the script runs as if on a object (says 'Object' now)If it stays on object it will check, if placed on a object, if that actor has that item, not the player!..When you change it into a questscript. use Player.GetItemCount to track things on the player... If you don't have assigned it in the quest yet, do so.. I'm not saying how it actually should look....Usually people use Stages as blocks as well :). (performance) Link to comment Share on other sites More sharing options...
PacificMorrowind Posted June 25, 2009 Share Posted June 25, 2009 as well as what vicIce said, you are missing an endif (two ifs but only one endif).Pacific Morrowind Link to comment Share on other sites More sharing options...
JcHARP Posted June 26, 2009 Author Share Posted June 26, 2009 Ok lets see if this works ill edit my post to update you guys. Again thanks for the help :D -Edit- You guys are so awesome i tried the <else <command><blah blah><blah blah>endif works i appreciate it guys. Link to comment Share on other sites More sharing options...
Recommended Posts