I'm trying to make a AoS type map that has a hero/duel arena in it. I can't seem to get my camera bounds to set to the region that I made. Also, I can't seem to get my "pick a random player from each team" trigger to work either. Here's the trigger I made:
I've attached my map so that you can get a better look at my triggers and stuff and test it out. It's still in the making so there's still a bunch of stuff I need to set and fix. Btw, I know my map is really big. It's because it has a ton of imports. I still gotta fix the map size.
-
Events
- Time - Every 360.00 seconds of game time
-
Actions
- Game - Pause the game
-
Unit Group - Pick every unit in (Units owned by (Random player from (All players matching (((Picked player) slot status) Equal to Is playing))) matching (((Picked unit) is A Hero) Equal to True)) and do (Actions)
-
Loop - Actions
- Set Duelist1_Location[1] = (String((Integer((X of (Position of (Picked unit)))))))
- Set Duelist1_Location[2] = (String((Integer((Y of (Position of (Picked unit)))))))
- Set Duelist_Picked = (Picked unit)
- Unit - Move (Picked unit) instantly to (Center of Duelist 1 <gen>), facing 0.00 degrees
-
Loop - Actions
-
Unit Group - Pick every unit in (Units owned by (Random player from (All enemies of (Owner of Duelist_Picked))) matching (((Picked unit) is A Hero) Equal to True)) and do (Actions)
-
Loop - Actions
- Set Duelist2_Location[1] = (String((Integer((X of (Position of (Picked unit)))))))
- Set Duelist2_Location[2] = (String((Integer((Y of (Position of (Picked unit)))))))
- Unit - Move (Picked unit) instantly to (Center of Duelist 2 <gen>), facing 180.00 degrees
-
Loop - Actions
- Camera - Set the camera bounds for Player 1 (Red) to Duel Arena <gen>
- Camera - Apply Duel Arena <gen> for Player 1 (Red) over 0.00 seconds
- Camera - Apply Duel Arena <gen> for Player 2 (Blue) over 0.00 seconds
- Camera - Apply Duel Arena <gen> for Player 3 (Teal) over 0.00 seconds
- Camera - Apply Duel Arena <gen> for Player 4 (Purple) over 0.00 seconds
- Camera - Apply Duel Arena <gen> for Player 5 (Yellow) over 0.00 seconds
- Camera - Apply Duel Arena <gen> for Player 6 (Orange) over 0.00 seconds
- Camera - Apply Duel Arena <gen> for Player 7 (Green) over 0.00 seconds
- Camera - Apply Duel Arena <gen> for Player 8 (Pink) over 0.00 seconds
- Camera - Apply Duel Arena <gen> for Player 9 (Gray) over 0.00 seconds
- Camera - Apply Duel Arena <gen> for Player 10 (Light Blue) over 0.00 seconds
- Game - Unpause the game
I've attached my map so that you can get a better look at my triggers and stuff and test it out. It's still in the making so there's still a bunch of stuff I need to set and fix. Btw, I know my map is really big. It's because it has a ton of imports. I still gotta fix the map size.