• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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