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

[Solved] Buyable Abilitie Problem

Status
Not open for further replies.
Level 3
Joined
Jun 9, 2008
Messages
36
Hey guys, i got a big problem.

I'm creating and orpg and i want to make players choose 4 abilities they like from a big abilitie pool ( some shops ).

So when a player buys the ability they should be stored at normal hero abilitie lvl up system ( like in a normal game ur hero lvls up gets a point and can increase the lvl of one of his 4 abilities)
_________________________________________________________

now the problem: i can make the unit buy an abilitie from a shop, but the abilitie is automatically set to lvl 1 and when the hero lvls up u cant increase the abilites lvl, cause (wtf?!) the hero doesnt get a skillpint so spend

im hoping 4 help thanks alot
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
This thread seems to have solved that problem.

Basically, the map in the last post is a good example of how it works. It uses the Engineering Upgrade to add those abilities.
I just don't like the way he triggers the "add ability".
Personally, I prefer some simple list (PurchasedItem[1] = Storm Bolt Item / PurchasedAbility[1] = Storm Bolt) for that, or you could link them directly with hashtables.
 
Last edited:
Status
Not open for further replies.
Top