Ingame Arena Help !

danpe

New Member
Reaction score
5
Hey,

I want to make like a mini game inside my game...
Player play with their heroes like a normal game and once in 5 min there is a duel between 2 random players.

Now my problam is pausing all other units in map including creeps and everything, moving the 2 random players into the arena remembering their old location, HP, Mana & cooldowns (if possible) and make all other units look on the battle the winner gets XP and when fight is over everything goes back to normal...

How can i do that?
 

danpe

New Member
Reaction score
5
Is it good for now?

Trigger:
  • Arena
    • Events
      • Time - Arena expires
    • Conditions
    • Actions
      • Game - Display to (All players) the text: Arena Time !
      • Countdown Timer - Pause Arena
      • Countdown Timer - Pause Reinforcment
      • Countdown Timer - Pause Rescue
      • Unit - Pause all units
      • Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
        • Loop - Actions
          • Unit Group - Pick every unit in (Units owned by (Picked player) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
            • Loop - Actions
              • Set HerosLocation[ManualLoop] = (Position of (Picked unit))
              • Set HeroesHP[ManualLoop] = (Life of (Picked unit))
              • Set HeroesMP[ManualLoop] = (Mana of (Picked unit))
              • Set TEMP_RandomArenaPoint = (Random point in Arena <gen>)
              • Unit - Move (Picked unit) instantly to TEMP_RandomArenaPoint
              • Camera - Pan camera for (Picked player) to TEMP_RandomArenaPoint over 3.00 seconds
              • Camera - Set the camera bounds for (Picked player) to Arena <gen>
              • Unit - Set life of (Picked unit) to 100.00%
              • Unit - Set mana of (Picked unit) to 100.00%
              • Unit - Reset ability cooldowns for (Picked unit)
              • Custom script: call RemoveLocation(udg_TEMP_RandomArenaPoint)
              • Set ManualLoop = (ManualLoop + 1)
      • Trigger - Run Arena Vote Dialog <gen> (ignoring conditions)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top