Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Unit Group - Pick every unit in Heroes and do (Floating Text - Create floating text that reads ((Name of (Owner of DualUnit[1])) + (Versus + (Name of (Owner of DualUnit[2])))) above (Picked unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency)
Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) is A Hero) Equal to True)) and do (Unit Group - Add (Picked unit) to Heroes)
For example one way would be when the particular players are chosen you would grab their names and store each in a string variable. Then play your text trigger and call on those string variables.
Floating Text - Create floating text that reads ((string[1] + vs. ) + string[2]) at (Center of (Playable map area)) and so on...
For each (Integer A) from 1 to 2, do (Actions)

Loop - Actions


For each (Integer B) from 1 to 2, do (Actions)



Loop - Actions




Set temp_unit = (Random unit from group[(Integer A)])




Set PlayerNames[(Integer A)] = (Name of (Owner of temp_unit))




Unit - Move temp_unit instantly to battle_point[point_index], facing Default building facing degrees




Unit Group - Remove temp_unit from group[(Integer A)]




Unit Group - Add temp_unit to group[3]




Set point_index = (point_index + 1)
Floating Text - Create floating text that reads PlayerNames[(Integer A)] at PlayerTextPoint[1] with Z offset 0.00, using font size 10.00, color (0.00%, 100.00%, 100.00%), and 0.00% transparency
Actions

Set point_index = 1

For each (Integer A) from 1 to 2, do (Actions)


Loop - Actions



For each (Integer B) from 1 to 2, do (Actions)




Loop - Actions





Set temp_unit = (Random unit from group[(Integer A)])





Set PlayerNames[point_index] = (Name of (Owner of temp_unit))





Unit - Move (Triggering unit) instantly to battle_point[point_index], facing Default building facing degrees





Unit Group - Remove (Triggering unit) from group[(Integer A)]





Unit Group - Add temp_unit to group[3]





Set point_index = (point_index + 1)

Unit - Move temp_unit instantly to battle_point[point_index], facing Default building facing degrees
Floating Text - Add Floating Text with the string: [Variable] at TempLoc
