1. I am trying to make a hero choosing system like in dota, so when you choose a hero, it is no longer available for purchasing (it just disappears from the tavern). So... how can I remove the hero from the tavern, so it can no longer be sold.
2. I also have a -allrandom system in my map. Its like this: Set RANDOMHERO [1] = Mountain King, Set RANDOMHERO [2] = Blood Mage, and when player 1 (Red) types -ar in the start, it gives every player a hero like this: Unit - Create a [RANDOMHERO [RANDOM INTEGER BETWEEN 1 AND 2] for..... So my question is how to make everyone get unique heroes when the mode is all random?
Hero Choose System
Moderator: Cheaters
-
- Member
- Posts: 58
- Joined: December 8th, 2007, 8:11 pm
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: Hero Choose System
Atm I am trying to hard to re-create the effects of the Dota tavern system, which I have had no prior experience with.
Here is a generic version of the system, however, I am unable at this time to implement a fairly leakfree/no double hero random system at this time. If anyone could link me to a random hero tavern system anywhere so I can try and modify it, that would work out. If I figure out how to work a gui version of a decent random system, I will let you know.
Here is a generic version of the system, however, I am unable at this time to implement a fairly leakfree/no double hero random system at this time. If anyone could link me to a random hero tavern system anywhere so I can try and modify it, that would work out. If I figure out how to work a gui version of a decent random system, I will let you know.
You do not have the required permissions to view the files attached to this post.
-
- Forum Staff
- Posts: 506
- Joined: November 17th, 2008, 3:49 pm
Re: Hero Choose System
Would this help you at all? This is a tutorial thats been on the-helper for a while now. It contains all what youve been asking for, a unique manual pick and random pick system that removes the hero afterwards, a repick system, and all-random.
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: Hero Choose System
I'll be editing that tutorial to make it leak free, or close to it, and be reposting a finished one.
The 2 systems were basically the exact same, the only difference was I put in a few custom scripts to reduce leaks, but the other map would work fine, I suggest using the other map for a quick and easy solution.
The 2 systems were basically the exact same, the only difference was I put in a few custom scripts to reduce leaks, but the other map would work fine, I suggest using the other map for a quick and easy solution.
-
- Member
- Posts: 58
- Joined: December 8th, 2007, 8:11 pm
Re: Hero Choose System
mmo.syre wrote:Would this help you at all? This is a tutorial thats been on the-helper for a while now. It contains all what youve been asking for, a unique manual pick and random pick system that removes the hero afterwards, a repick system, and all-random.
This helped me a lot... Thanks to both of you, its just what I was looking for!!!Arabidnun wrote:Atm I am trying to hard to re-create the effects of the Dota tavern system, which I have had no prior experience with.
Here is a generic version of the system, however, I am unable at this time to implement a fairly leakfree/no double hero random system at this time. If anyone could link me to a random hero tavern system anywhere so I can try and modify it, that would work out. If I figure out how to work a gui version of a decent random system, I will let you know.
[blinking]Sorry for my english ^_^[/blinking]