• 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!

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
 
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.
Back
Top