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

[Trigger] How to create -save and -load for lumber or other stuff

Status
Not open for further replies.
Level 10
Joined
Jun 7, 2008
Messages
420
In my map, I want it such that the more people play, the higher the score they get, and the score can be exchanged for items/gold next time they play.
Lumber is good. I won't be using lumber in this map other than to buy the mentioned special perks.

So, the hard part.

How do I enable a trigger to save lumber amount somewhere at the end of the game and come out with a code (it should show after the other team's base is destroyed-something like dota in that sense but I'm not making a dota clone no worries). The code should enable players to load their lumber amount at the end of each game.

So... can someone paste the trigger in here and tell me under which category can I find it? Also, hopefully, no variables :D those are headache. But I will as a last resort (in which case please be extra extra detailed, I'm really newb at this).


Thanks so much!!
 
Status
Not open for further replies.
Top