• 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.

GUI Save/Load System

Status
Not open for further replies.
Level 4
Joined
Aug 26, 2012
Messages
85
There are many Save/Load system everywhere, and most of the are made in GUI. But every Save/Load code there are some Jass scripts. And most of the configurable parts are in GUI.

Here are some examples:
1. By AceHart
2. Some from Epicwar
3. By Effane

How about tutorials?
1. Tutorial by Effane

P.S - I have no idea whether they fully works or not, but give it a try.
 
Last edited:
Level 9
Joined
Nov 19, 2011
Messages
516
Hi,

Save: display("-code " & string(value))
Load: set value = integer(substring(message(7,length(message)

Thats easy. If you want to make some longer sequence do it multiple times:

Save: display("-code " & string(value) & "-" & string(value2) & ...
Load:
For i=values_count do
set value.i = integer(substring(message(begin,end)


Use another trigger to get begin and end values based of "-" character apperiance.
 
Status
Not open for further replies.
Top