- Joined
- Jun 27, 2010
- Messages
- 4,157
Computer selection system(CoSS)
Now, the trigger checks if the users chosen their heroes(Num_of_players), and then buy the heroes for the computers. The problem is I don't know how to order the computers to buy the a random hero.
Btw, is there any tutorial for whom I didn't know and explains this? I know in DoTA this is possible and I want to make this in my map.
edit: something like pick units in selling unit that are available?
Now, the trigger checks if the users chosen their heroes(Num_of_players), and then buy the heroes for the computers. The problem is I don't know how to order the computers to buy the a random hero.
Btw, is there any tutorial for whom I didn't know and explains this? I know in DoTA this is possible and I want to make this in my map.
edit: something like pick units in selling unit that are available?
-
CoSS
-

Events
-


Unit - A unit Sells a unit
-
-

Conditions
-


Num_of_players Equal to 0
-
-

Actions
-


Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






((Picked player) controller) Equal to Computer
-
-





Then - Actions
-





Else - Actions
-
-
-
-
-
Last edited:




