- Joined
- Aug 12, 2008
- Messages
- 350
I want a trigger that when a player types "-random", it will randomly creates a hero for the player. Of course, the heroes must be within a list which I've set it up. I've tried it but it seems that my trigger cause the Warcraft III to crash. So, I posted it here to ask for help.
For sure credits and +rep will be given to those who actually help me.
EDIT: No same heroes allowed.
-
Heroes Initialisation
-
Events
- Time - Elapsed game time is 0.50 seconds
- Conditions
-
Actions
- Set hero_type[1] = Hero1
- Set hero_type[2] = Hero2
- and so on...
- Trigger - Turn off (This trigger)
-
Events
EDIT: No same heroes allowed.
Last edited: