wunima Posted October 1, 2014 Share Posted October 1, 2014 (edited) [GECK 1.4.0.518 / Fallout NV Ultimate]I created two Container, called: 00Container1 and 00Container2 My Script is: ScriptName 00OpenPlayersContainerInBunker Begin OnOpen 00Container1.removeallitems 00Container2 1 1End _______This is what I want, but the GECK doesn't allow me to save the script. I triedref rContainer100Container1.removeallitems rContainer1 1 1 <-saved to a variable, but..rContainer1.removeallitems 00Container2 1 1 <-won't run. and00Container1.removeallitems player 11 <- work okay, but not what I want Any clue? Thanks in advance. Edited October 1, 2014 by wunima Link to comment Share on other sites More sharing options...
wunima Posted October 1, 2014 Author Share Posted October 1, 2014 (edited) Something what would me help is: Using a container with OnActivate to open the other box. But I don't know the script command for open inventoryshowinventory.00Container2 ... or something else. _____|EDIT|I got a solution from someone else One Box called: MAINBox, placed on Cell, ReferenceEditorID: MAINBoxRef[x] Persistent Reference Second box called: MAINBoxOpenerwith script ScriptName: MainBoxOpenBegin OnActivate MainBoxRef.activate PlayerEnd and the MAINBoxOpener can placed as often as you want. Its just an activator for the main box. For those who can use this information. [CLOSED] Edited October 1, 2014 by wunima Link to comment Share on other sites More sharing options...
Ladez Posted October 1, 2014 Share Posted October 1, 2014 To use references in scripts, they must be persistent and have unique reference editor ID's. These editor ID's should be used in your script instead of the editor ID of the base object. Link to comment Share on other sites More sharing options...
wunima Posted October 1, 2014 Author Share Posted October 1, 2014 To use references in scripts, they must be persistent and have unique reference editor ID's. These editor ID's should be used in your script instead of the editor ID of the base object.Aaah, that was my mistake, thanks a lot! Link to comment Share on other sites More sharing options...
Ladez Posted October 2, 2014 Share Posted October 2, 2014 Also, I forgot, the reference ID's won't work with numerical prefixes for some reason. You need to always begin with a letter. Link to comment Share on other sites More sharing options...
wunima Posted October 2, 2014 Author Share Posted October 2, 2014 Also, I forgot, the reference ID's won't work with numerical prefixes for some reason. You need to always begin with a letter.That's the reason why some Modder begin their REF IDs with zz or aaa instead 00. Link to comment Share on other sites More sharing options...
Recommended Posts