• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Save/Load Functions

Status
Not open for further replies.
Level 8
Joined
Jan 23, 2008
Messages
334
Im curious is it possible to have an RPG that updates without character wipes?


Like can you make a separate map that loads the old code and then when you save it gives you the new code for your hero? or am I just dreaming
 
Level 21
Joined
Aug 21, 2005
Messages
3,699
Sure, why not?

You simply make multiple save/load triggers in your map, and while entering the code you detect the "version" of the code. For example:

Enter "-load v2 abracadabra"
will run "Version 2 load trigger", which loads stuff differently from v1.

You could even give a newer version of your map the option to save your code to an earlier version (removing all new content from the code), like:
Enter "-save v1"
 
Status
Not open for further replies.
Top