I've been searching and testing a script:
Code: Select all
local pm = require("playerManager")
pm.overworldCharacters = {1,2}
So I put this script on one level and it didn't work:
Code: Select all
local pich = {}
function pich.onEvent(eventName)
if eventName == "pich" then
SaveData[Level.filename()] = SaveData[Level.filename()] or {}
SaveData[Level.filename()].missionClear = true
pm.overworldCharacters = {1,2,3,4}
end
end
would greatly appreciate the help to make this script