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

Codegen

Status
Not open for further replies.
Level 4
Joined
Jun 14, 2008
Messages
72
I have NO idea if this topic is in the right thread but I will ask it anyway... for triggerhappys Code-gen spell HOW DO I DO EXP? it shows hero's, items, ability's, hero levels. but not just a number! can someone make a pretty trigger that does integers/EXP instead of hero junk?
 
I saw many Orpg's - but no one of them save the current Exp. So I ask myself, if it's possible anyway hmm but actually, I think you just must add in the save trigger the acions:

  • Set Save[SaveCount] = (Hero experience of Hero)
  • Set SaveCount = (SaveCount + 1)
( I put this there, when he save the attributes )

Ofc you have to load it then as well - don' know if that work but you can try =D
 
Ok let me be more clear, i didnt meen a heros actual EXP i meant... say I have a variable named REDXP its an interger that gos up through playing, how would i make you able to save this number and load it next game?
 
Status
Not open for further replies.
Back
Top