Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Labels via scripting[XP]

Is it possible to place one "label(via scripting)" in an event list wherever you save while the event is running, so that
when you load your game you don't have to run all the event again, because when the event starts there's
a "jump to label" function that jumps to the part where you were?

Edit: For example, I want that during the event is running, If you press a button, it saves the command where the event is running on the event list without using the label function in the event functions, using a script to do so. After it puts the scripted label, the game is saved and the game ends. Now, when you load where you saved, it doesn't start all over again the event, but that by the "jump to label" event function, it detects the scripted labels, and you can resume where you were without waiting for the whole event to run.(This will be particulrily used for interrupting cutscenes to save your game and do not have to play the cutscene all over again, like to pause the event and then have the ability to resume the event.)
 
If you save your game while events are running, they will pick up where they left off when you load the game, as it is saving $game_map to the file. The events will only get reset on save->load if they're teleporting the player between maps, which is easily fixed by just splitting up the event so an event on the new map takes over after the player gets teleported.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top