kallieblakie
New Member
- Reaction score
- 5
I'm using the circle of power + taven system, and the trigger kicks off when the player types "-random".
If a hero (say, hero A) has already been picked or randomed, it must not be able to be randomed by other players, meaning other players cannot get "hero A" anymore.
I've looked through DotA template, and Dota template doesn't prevent this. Dota template itself has lots of problems and bugs. Countless. Unreliable.
So can anyone help me with this?
I know that I can:
(ignore the leaks)
But how do i make it that a hero that has been chosen/randomed cannot be randomed by another player?
Thanks in advance. Hope you get what i mean.
If a hero (say, hero A) has already been picked or randomed, it must not be able to be randomed by other players, meaning other players cannot get "hero A" anymore.
I've looked through DotA template, and Dota template doesn't prevent this. Dota template itself has lots of problems and bugs. Countless. Unreliable.
So can anyone help me with this?
I know that I can:
Code:
set HERO[1] = BLAH
set HERO[2] = BLEAH
set HERO[3] = BOOH
set HeroCount = 3
set TempInt = Random number between 1 and HeroCount
create 1 HERO[TempInt] for Triggering Player at Triggering Player Start Location.
Player Group - Pick every player in AllPlayers and do (Actions)
Loop - Actions
Player - Make (Unit-type of (Last created unit)) Unavailable for training/construction by (Picked player)
But how do i make it that a hero that has been chosen/randomed cannot be randomed by another player?
Thanks in advance. Hope you get what i mean.