• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Make Game autosave every 5min

Status
Not open for further replies.
Hello guys, is there a way to make a function where the game (i mean in the Map that i'm making) auto saves itself every 5min?
The player types the function "-autosave" and the game starts auto-saving every 5min and whe he types again "-autosave" it will turn itself off.

I thought of this function in case the player is playing the map in hard mod and forgets to save and end up losing when a hero dies. Do you think it's a good idea or no need for it?

I'm asking for the trigger and your opinions. Thanks.
 

sentrywiz

S

sentrywiz

Not with GUI. You need to use Jass or something to force the game to save.
Don't even know if its possible. Probably so, though it abuses some native probably.

Question: isn't it easier to save the hero in a variable every X seconds instead of saving the entire game? I don't mean to be smart, just saying. Idk how your game works or what kind of map it is.
 
Status
Not open for further replies.
Top