Enjoy BYOND? Contribute today!
Stacking turfs at runtime
Apr 21 2012, 11:08 am
Could anyone show me a technique that may be used to create a turf in a certain location without deleting other turfs in that same location at runtime? Effectively stacking them atop one another.
Apr 21 2012, 2:59 pm
Does simply creating a turf and setting its coordinates work? If not, I'd have to suggest that you can only have one turf in one space.
Apr 22 2012, 12:07 am
Only one turf can exist at any given location. In the map editor, when you stack turfs, the lower turfs are added as underlays to the top-most turf.
If you want that same effect, copy the turf's underlays list, add an image to the list representing the current turf, create your new turf, and set its underlays list to that list.
Apr 23 2012, 7:55 am
If you only want it to look like there are multiple turfs in one area, do what DarkCampainger said. Otherwise, use objs instead of turfs.
Copyright © 2014 BYOND. All rights reserved.
Terms of Service