Closed HzMasterG6 closed 3 years ago
Is this a feature request?
Is this a feature request?
yes
Then I'd rather they happen in the Unitale Discord server, given that I think you're already there.
Second of all, we will most likely not add support for loading an encounter in another encounter, as it would be quite against how CYF works in general.
Meet you on Discord if you want more info on that.
Misc.RedirectEncounter( string encounterPathname )
This command will quit of current encounter and will change to next encounter ifencounterPathname
is nil or will change to encounterPathname to encounter that has this file name. Results:Example: A encounter pack / folder has 3 encounter lua files. Poseur.lua , Posette.lua and Team.lua If the player kill Poseur.lua the encounter developer can redirect the encounter to Team.lua or Posette.lua calling
Misc.RedirectEncounter("posette.lua")