Hello there, i need to find a way to modify save in game, i just need a message like:
"File Saved" after the save.
There's a way to do this in JS?
(Without use a plugin)
Best
Save plugin info
● ARCHIVED · READ-ONLY
-
-
no, any change into an existing function requires either an edit to the core files (very bad idea) or a plugin to override that function.
The script options of the event commands are only for one-time data changes, they can't change the engine itself.
the only alternative would be to restrict your game to savepoints, where you can give a message after using the savepoint, but that doesn't sound like what you want (and has several limitations compared to plugins as well) -
There's a way to do this in JS?
(Without use a plugin)
yes,... ish.
you could modify the message window, but it might have some problems reverting itself to the original.
I've done it as part of a quest system, to print out notifications, but I had to change a few things because it wasn't reverting itself correctly and kept taking over the original message window.
calling the window and having it do it's thing is not hard, the hard part is signaling the map scene (where the window operates) to open the modified window instead of the original, on demand.
if it is just a text, nothing fancy, maybe a simple sprite would do, but it'd still have to be tied to the save scene, while existing on the map scene.