• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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