NamelessName Posted May 6, 2020 Share Posted May 6, 2020 (edited) I want to turn the below layout into a static layout lua. The one below right now is put in "layouts.lua" and can not be chained in mods as a room. So no way to force it to spawn like other set pieces such as devs graveyard. ------------------------ ["MushroomRingLarge"] = { type = LAYOUT.CIRCLE_EDGE, defs = { unknown_plant = { "red_mushroom", "green_mushroom", "blue_mushroom"}, }, count = { unknown_plant = 15, }, scale = 1.5 }, ---------------------------- THIS WORKS for graveyard but not for the layouts in layouts.lua: Layouts["dev_graveyard"] = StaticLayout.Get("map/static_layouts/dev_graveyard") This does not work: Layouts["MushroomRingLarge"] = StaticLayout.Get("map/static_layouts/MushroomRingLarge") Edited May 6, 2020 by NamelessName Link to comment https://forums.kleientertainment.com/forums/topic/118036-how-to-make-a-a-static-layout-from-layoutslua/ Share on other sites More sharing options...
NamelessName Posted May 9, 2020 Author Share Posted May 9, 2020 Bump. Guys how do I make "MushroomRingLarge" into a set piece that can be linked to a task? Link to comment https://forums.kleientertainment.com/forums/topic/118036-how-to-make-a-a-static-layout-from-layoutslua/#findComment-1332272 Share on other sites More sharing options...
NamelessName Posted May 14, 2020 Author Share Posted May 14, 2020 Someone? Link to comment https://forums.kleientertainment.com/forums/topic/118036-how-to-make-a-a-static-layout-from-layoutslua/#findComment-1333773 Share on other sites More sharing options...
Cathion Posted December 5, 2020 Share Posted December 5, 2020 Eu tenho o mesmo problema que eu acho, você conseguiu? Link to comment https://forums.kleientertainment.com/forums/topic/118036-how-to-make-a-a-static-layout-from-layoutslua/#findComment-1401022 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