• 🏆 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!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

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