Rooker75 Posted April 10, 2014 Share Posted April 10, 2014 This script won't compile and for the life of me, I can't figure out why not. scn RhondaGRAPatchScript int DoOnce Begin GameMode If DoOnce == 0 10VMVendorChestAllRef.AddItem 10VMGRAAll 1 StopQuest 10VMGRAPatchQuest Set DoOnce to 1 EndIf End 10VMVendorChestAllRef is the RefID of a persistent container dropped in the NVVendorChests cell. 10VMGRAAll is a leveled list. The GECK is telling me "Script command 10VMVendorChestAllRef.AddItem not found". If I change it to PlayerRef (or pretty much any other RefID), it works fine, but refuses to let me use the container. Am I not allowed to select containers via script or something? Link to comment Share on other sites More sharing options...
Hopper31 Posted April 10, 2014 Share Posted April 10, 2014 Try removing the number from the REF. I believe the same thing happened to me and that's how I fixed it. Link to comment Share on other sites More sharing options...
Rooker75 Posted April 10, 2014 Author Share Posted April 10, 2014 It worked! Thank you! ... that's the craziest... Surely that has to be a bug? I've used numbered refs before in scripts. Link to comment Share on other sites More sharing options...
Hopper31 Posted April 10, 2014 Share Posted April 10, 2014 I have no idea what causes it, but it only occurs when the number is in front of a ref. Link to comment Share on other sites More sharing options...
luthienanarion Posted April 11, 2014 Share Posted April 11, 2014 The general consensus is that the GECK compiler parses inputs that begin with numerical values as FormIDs instead of EditorIDs. Link to comment Share on other sites More sharing options...
Rooker75 Posted April 12, 2014 Author Share Posted April 12, 2014 Well, now I know. I'll just file it away under "GECK oddities". I'll just sort my IDs by ZZZ from now on, I guess. Link to comment Share on other sites More sharing options...
Recommended Posts