Disallowing playable characters
Posted: Sun Jan 31, 2021 1:13 pm
by Waluiggy
Is there any way to change which playable characters are allowed to be selected on the world map? I can only find options in the editor for Mario, Luigi, Peach, Toad, and Link.
Re: Disallowing playable characters
Posted: Sun Jan 31, 2021 5:36 pm
by Hoeloe
Code: Select all
local playerManager = require("playerManager")
playerManager.overworldCharacters = {CHARACTER_MARIO, CHARACTER_LUIGI, CHARACTER_BOWSER}
This little bit of Lua (placed in "map.lua") controls which characters can be selected, and in what order.
Re: Disallowing playable characters
Posted: Sun Jan 31, 2021 6:52 pm
by Waluiggy
Great, thanks a lot!
