Snakeman Posted March 15, 2019 Share Posted March 15, 2019 (edited) Map: Military Complex Hey Devs i have to report something about stashes in custom maps, the addContainer function seems not work. require "StashDescriptions/StashUtil"; -- guns local stashMap1 = StashUtil.newStash("McStashMap1", "Map", "Base.MilitaryComplexMap", "Stash_AnnotedMap"); stashMap1.buildingX = 5439; stashMap1.buildingY = 9213; stashMap1.spawnTable = "GunCache1"; stashMap1:addContainer("GunBox",nil,"Base.Duffelbag",nil,5440,9214,0); stashMap1:addStamp("media/ui/LootableMaps/map_x.png",nil,241,588,0,0,0); stashMap1:addStamp(nil,"Stash_McMap1_Text1",221,630,0,0,0); Stamps works good Another Test: I modify the construction coords and the container spawn coords to a vanilla construction and works. Now i know the code works only in vanilla construction and coords. It's a Bug!!! (Please Fix that to make awesome things with this system in custom maps) Edited March 15, 2019 by Snakeman Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now