Found a Save / Load system in Lua - Need help

Level 11
Joined
Apr 27, 2009
Messages
224
Found a Save / Load system made in Lua by Planetary. Its made for multiple players but I need it only for 2 players.

The system works by typing -save it save your hero for player that is typing and -load loads that players hero
I need the system to -save player 1 hero and player 2 and -load to load create both player heroes

Can someone edit the code inside so it can save both players?
 

Attachments

  • lua_save_load_v1.0z.w3m
    54.7 KB · Views: 5

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,866
How about using something like this, it's very new and the author will likely respond to you immediately:
Read the documentation on how it works, it's explained in that thread. Experiment with and try to figure out how you can save two heroes instead of just one.

Also, I highly suggest learning at least a basic understanding of how this stuff works, you're going to be using it in YOUR map after all. I'm very confident that you can figure it out with a little trial and error and reading forum posts.
 
Level 11
Joined
Apr 27, 2009
Messages
224
Thanks a lot! Will see about it and ask him while that happens.

I believe the map that I shared has already build system and someone who knows probably can find a solution how to do it.

I tried with trial and error for some time and could not manage to find an answer! Would appreciate help
 
Last edited:
Top