[JASS] Save load import

Status
Not open for further replies.
Level 9
Joined
Oct 17, 2007
Messages
547
I'm starting out a new map. I intend to have it be sort of like an rpg so I needed a save/load system. I found one on this site that generated very nice looking codes but don't know how to import it in a map and make it usable. (i read all the guides that come with the system since i'm clueless in JASS)

The link for the system is:

https://www.hiveworkshop.com/forums/spells-569/codegen-140399/?prev=search=save%20load&d=list&r=20

I just made the map so its currently blank with just the bag system that I also found on this site.

If posible please import the save/load system so that it saves gold, lumber, hero lv, hero type, hero stats, and the first 2 pages of the bags (if its not doable then just the first 4 items in page 1 or the current page is great).

I didn't want to start the map before I find a suitable save/load system for it. I imagine I would have to make the map base on that system for it to work.

The map is multiplayer I there will be about 10-20 heroes if thats relevent in anyway.
 

Attachments

When i try copying the codes over this is the error that i recieve:

Error type: Hero is not the type that allows . syntax

Line of code: set udg_CG_HeroType=Hero.getIntPos(GetUnitTypeId(udg_test_hero))

That line of code is located in the Save trigger made in GUI
 
i was careless and downgraded my map with the old JNGP, is there any way that i can update it without starting over?
 
Last edited:
Status
Not open for further replies.
Back
Top