#Set default spawnpoint

15 messages · Page 1 of 1 (latest)

past wave
#

Trying to make a level, but maddy keeps spawning at the end spawnpoint instead of the start one. the start spawn is closest to 0,0, so i dont think thats relevant. not sure how to make it work

#

shes spawning on this one

gaunt shell
#

the last spawn placed in the room is used - alternatively there's an entity in djmaphlper that deals with it idr the name rn

past wave
#

oh, thats strange

#

well, that didnt seem to work. either of them

#

replaced both spawns and restarted, still spawned at the end, and then tried the djmaphelper force start spawn thing, and that didnt work either

#

removed the other spawn, and it gives this now

#

ok i just used 2 normal ones and just swapped their places instead

#

solved-ish

willow cosmos
#

there's an attribute that you can set on a spawnpoint to make it the default one, it's just not added to the UI yet. you can paste this spawnpoint

{
    {
        _type = "rectangle",
        height = 17,
        item = {
            _id = 4,
            _name = "player",
            _type = "entity",
            x = 304,
            y = 128,
            isDefaultSpawn = true
        },
        layer = "entities",
        node = 0,
        width = 13,
        x = 296,
        y = 111
    }
}
#

@reef isle is this planned for the next lönn version?

reef isle
#

havent added it yet at least 😓

#

what exactly does it do

#

load into map spawn?

willow cosmos
#

yeah it's the spawnpoint in the starting room that gets used when you load into the map