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

Simple Save and Load Trigger

Status
Not open for further replies.
Level 17
Joined
Jun 12, 2007
Messages
1,261
Hello, my name is Airandius and I'm making a map. And I need some help with a complicated trigger.

My map is a mix between a rpg and a loap and also contains ctf and other elements, now on to my problem.
Even though the map wont be very long it would still be pleasant if it had a save and load system.

There will be 1 hero so there is no need to save that but I would request for a save and load trigger that saves the following:

- The level of the hero. (Maximum will be 25.)
- The amount of gold the player has.
- 5 Integers containing values for professions. (There is no maximum.)

There are 6 players in my map, each with 1 hero and 5 integers for professions. (P1Red, P2Blue, P3Teal, P4Purple, P5Yellow, P6Orange)
The hero they have is of type: Adventurer and is a edited Paladin with no hero abilities.

I tried making a save and load trigger myself but it couldn´t follow it when it started talking about the codes.
I would realy like somebody to make it. Thanks in advance.
 
Level 12
Joined
May 4, 2008
Messages
1,111
:D this IS easy to do its basicly just having some values, screwing them up inside the sentence using the Substring trigger and multiple stings :D and then in the load making the game unscrew the values :D ill make it right now...

Lvls, gold, profetions... OK!

hmmm... its kind of anoying doing it lol :D my first ave/load trigegr :D
 
Status
Not open for further replies.
Top