mkvamm1 Posted October 27, 2014 Share Posted October 27, 2014 I'm not sure if this is the right place to post this but... I've met a wall when it comes to this script, it's my first but I based it of the classic pack. It's supposed to give you random gear at the start of the game, which I've picked the appropriate leveled list for. But I think there's something wrong with it because I can't even save it! Here's the script: Scriptname 001RandomStarterGearScriptShort DoOnce BEGIN GameModeif (DoOnce == 0) PlayerRef.AddItem VendorWeaponsAllCommon 1;PlayerRef.AddItem VendorCapsRandom 1;PlayerRef.AddItem LootArmorTier1 1;PlayerRef.AddItem LootChemsNVHealing75 3;PlayerRef.AddItem 188GeneralStoremisc 5; SetStage 001RandomStarterGear set DoOnce to 1endifEND Any help is appreciated Link to comment Share on other sites More sharing options...
Ladez Posted October 27, 2014 Share Posted October 27, 2014 The SetStage function takes two parameters, you must specify which numerical stage you want to set. But you likely want to use StopQuest instead, since the script is only supposed to run once anyways. Link to comment Share on other sites More sharing options...
mkvamm1 Posted October 27, 2014 Author Share Posted October 27, 2014 The SetStage function takes two parameters, you must specify which numerical stage you want to set. But you likely want to use StopQuest instead, since the script is only supposed to run once anyways.I did StopQuest instead of SetStage (must've forgotten to put quest stage behind it) but it doesn't let me close the script, the only way I can close it is if I don't save it Maybe there's something wrong with my Geck or something... Link to comment Share on other sites More sharing options...
Ladez Posted October 27, 2014 Share Posted October 27, 2014 Make sure you have a quest with the editor ID '001RandomStarterGear' then. Link to comment Share on other sites More sharing options...
mkvamm1 Posted October 27, 2014 Author Share Posted October 27, 2014 Make sure you have a quest with the editor ID '001RandomStarterGear' then.Oh alright, thanks for the help Link to comment Share on other sites More sharing options...
senterpat Posted October 27, 2014 Share Posted October 27, 2014 If a script won't save, that means that there's an error in the script. I recommend getting the Geck Power Up, available on the nexus, will generally tell you what's up with script. Link to comment Share on other sites More sharing options...
Ladez Posted October 27, 2014 Share Posted October 27, 2014 If a script won't save, that means that there's an error in the script. I recommend getting the Geck Power Up, available on the nexus, will generally tell you what's up with script. While it's useful for troubleshooting, it might also crash the GECK if there's an error in a script. Just a fair warning. I've stopped using it after it lost me several hours of work. Link to comment Share on other sites More sharing options...
senterpat Posted October 27, 2014 Share Posted October 27, 2014 I've never once had that happen to me. The geck crashes all the time, but never once while trying to save a script. Pretty sure power up actually reduces the number of crashes. Link to comment Share on other sites More sharing options...
Ladez Posted October 27, 2014 Share Posted October 27, 2014 Well it drove up the number of crashes for me. I've never, ever had the GECK crash due to a compiler error before, but with PU it happened every day. The author seemed to be aware of the problem but not intent on fixing it when I commented about it. So in it's current state it's (sadly) of no use to me. :confused: Link to comment Share on other sites More sharing options...
DaWrecka Posted October 27, 2014 Share Posted October 27, 2014 I've never experienced that either. On the other hand, I do my actual script-writing in Notepad++. The main reason for that was that the GECK script editor is a pain to write in if you like keeping your code indented, because it makes you have to indent every single line individually. So if GECK does crash when I try to save the script, I've still got the source. Link to comment Share on other sites More sharing options...
Recommended Posts