Random Heroes

Undead_Lives

New Member
Here's a couple triggers I came up with for AoS's for -allrandom mode.
This one for heroes that are on the map:
<div class='triggertop'>TRIGGER</div><div class='triggermain'>
start.gif
Untitled Trigger 001
tree_spacer.gif
event.gif
Events
tree_spacer.gif
tree_spacer.gif
player.gif
Player - Player 1 (Red) types a chat message containing -allrandom as An exact match
tree_spacer.gif
condition.gif
Conditions
tree_spacer.gif
action.gif
Actions
tree_spacer.gif
tree_spacer.gif
set.gif
Set PHero[1] = (Unit-type of (Random unit from (Units in (Playable map area) matching (((Matching unit) is A Hero) Equal to True))))
tree_spacer.gif
tree_spacer.gif
set.gif
Set PHero[2] = (Unit-type of (Random unit from (Units in (Playable map area) matching (((Matching unit) is A Hero) Equal to True))))
tree_spacer.gif
tree_spacer.gif
set.gif
Set PHero[3] = (Unit-type of (Random unit from (Units in (Playable map area) matching (((Matching unit) is A Hero) Equal to True))))
tree_spacer.gif
tree_spacer.gif
unit.gif
Unit - Create 1 PHero[1] for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
tree_spacer.gif
tree_spacer.gif
unit.gif
Unit - Create 1 PHero[2] for Player 2 (Blue) at (Center of (Playable map area)) facing Default building facing degrees
tree_spacer.gif
tree_spacer.gif
unit.gif
Unit - Create 1 PHero[3] for Player 3 (Teal) at (Center of (Playable map area)) facing Default building facing degrees
</div>
And this one for heroes not on the map.
<div class='triggertop'>TRIGGER</div><div class='triggermain'>
start.gif
Untitled Trigger 002
event.gif
Events
tree_spacer.gif
tree_spacer.gif
player.gif
Player - Player 1 (Red) types a chat message containing -allrandom as An exact match
tree_spacer.gif
condition.gif
Conditions
tree_spacer.gif
action.gif
Actions
tree_spacer.gif
tree_spacer.gif
set.gif
Set PHero[1] = Paladin
tree_spacer.gif
tree_spacer.gif
set.gif
Set PHero[2] = Archmage
tree_spacer.gif
tree_spacer.gif
set.gif
Set PHero[3] = Mountain King
tree_spacer.gif
tree_spacer.gif
unit.gif
Unit - Create 1 PHero[(Random integer number between 1 and 3)] for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
tree_spacer.gif
tree_spacer.gif
unit.gif
Unit - Create 1 PHero[(Random integer number between 1 and 3)] for Player 2 (Blue) at (Center of (Playable map area)) facing Default building facing degrees
tree_spacer.gif
tree_spacer.gif
unit.gif
Unit - Create 1 PHero[(Random integer number between 1 and 3)] for Player 3 (Teal) at (Center of (Playable map area)) facing Default building facing degrees
</div>

For both triggers you need to modify the degrees, regions and the Array number, according to how many heroes you have.

Hope this helps some people.
 
Werbung:

Xeridanus

New Member
one question... what exactly is an AoS? im not a battle.net fan so please explain any others you think might be worth mentioning. I know DotA is Defense of the Ancients.
 
Werbung:

Steel_Cold

New Member
AoS stands for Aeon of Strife, basically it was the very first Dota of its kind and has died off.
While you play the map two apposing computers spawn units at eachother and attack each other in a balanced way. The unbalance in the battles are the player controled heroes.
 
Top