RhenaudTheLukark / CreateYourFrisk

Rhenaud The Lukark's Unitale fork
GNU General Public License v3.0
132 stars 56 forks source link

Adds a command called "Misc.RedirectEncounter" #77

Closed HzMasterG6 closed 3 years ago

HzMasterG6 commented 3 years ago

Misc.RedirectEncounter( string encounterPathname ) This command will quit of current encounter and will change to next encounter if encounterPathname 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")

RhenaudTheLukark commented 3 years ago

Is this a feature request?

HzMasterG6 commented 3 years ago

Is this a feature request?

yes

RhenaudTheLukark commented 3 years ago

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.