Page 1 of 1

(Request) Start as Wario

Posted: Wed Oct 28, 2020 4:18 pm
by RaccAttacc
I'm making a Wario Land themed episode. And I can't figure out how to make it so the player is always Wario.

Who can do this? or at least how?

Re: (Request) Start as Wario

Posted: Wed Oct 28, 2020 6:04 pm
by Hoeloe
You can do this very easily.

If you have a world map, just make a file named "map.lua" in your episode folder, and insert this code:

Code: Select all

local playerManager = require("playermanager")
playerManager.overworldCharacters = {CHARACTER_WARIO}

function onStart()
    player:transform(CHARACTER_WARIO)
end

If you don't have a world map, then make a file named "luna.lua" in your episode folder, and insert this code:

Code: Select all

function onStart()
    player:transform(CHARACTER_WARIO)
end