• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Found a Save / Load system in Lua - Need help

Status
Not open for further replies.
Level 12
Joined
Apr 27, 2009
Messages
237
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

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.
 
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:
Status
Not open for further replies.
Back
Top