Warcraft III resources & community, 2003–2006 · archived

Need HELP!!! Pls

5 posts
#1

Need HELP!!! Pls

Ok.. im making a map and i want this:
When the blue player types -allrandom i want all the heroes to be chose random.
Ho can i do this , pls help!!

eXciTe
#2
First u must make heroes for choose. I don't know your system of choose. Create it and after add trigger

Events-
 Player - Player 2 (blue) types a chat message containing -allrandom as An exact match
Condition-
Actions-

After creat your action.
Actions can be different...[/code]
#3
So the random system cannot be create with a trigger?

If not, tell what apllication to use pls.

eXciTe
#4
Yes it can. As Grave Digger told you all you have to do is check what chatstring a certain player wrote. In your case -allrandom, then you set a random variable between like 1-10 (depending on how many heroes you have) Then if it's 1, create unit for player, if it's 2, create another unit for player.

I hope you understand.
#5
I think i understand... i will try! Thank you!! :D