• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Fighting in the Arena

Status
Not open for further replies.
Level 10
Joined
Jun 20, 2017
Messages
333
Any ideas + Rep

I have an area, so no one cannot go there, but at 55 minutes of the game, only the heroes can go there so that they can fight each other, and cannot use some ability. After 60 second of war, which heroes who survived will be in the center of the map with award.
  • Cant Go In Fighting
    • Events
      • Unit - A unit enters 012 Fighting <gen>
    • Conditions
      • ((Entering unit) is in UnitGroup_Vampires) Equal to (==) True
      • ((Entering unit) is in UnitGroup_Humans) Equal to (==) True
    • Actions
      • Unit - Move (Entering unit) instantly to (Center of (Playable map area))
      • Wait 3300.00 seconds
      • Trigger - Turn off (This trigger)
      • Wait 3360.00 seconds
      • Trigger - Turn on (This trigger)
  • Fighting Timer
    • Events
      • Time - Elapsed game time is 3300.00 seconds
    • Conditions
    • Actions
      • Countdown Timer - Start Timer_Spawn as a One-shot timer that will expire in 60.00 seconds
      • Countdown Timer - Create a timer window for (Last started timer) with title Fighting:
      • Wait 60.00 seconds
      • Countdown Timer - Destroy (Last created timer window)
  • Fighting1
    • Events
      • Time - Timer_Duel expires
    • Conditions
      • (Number of players in PlayerGroup_Humans) Greater than or equal to (>=) 1
      • (Number of players in PlayerGroup_Vampires) Greater than or equal to (>=) 1
    • Actions
      • Unit - Move Unit_Move[(Random integer number between 1 and 12)] instantly to (Center of 012 Fighting <gen>)
      • Camera - Pan camera for (Triggering player) to (Center of 009 Spawn Vampires <gen>) over 0.00 seconds
  • Fighting2
    • Events
      • Unit - A unit Stops casting an ability
    • Conditions
      • ((Target unit of ability being cast) is A Hero) Equal to (==) True
        • Multiple ConditionsOr - Any (Conditions) are true
          • Conditions
            • (Ability being cast) Equal to (==) Shadow Sight
            • (Ability being cast) Equal to (==) Shadow Walk
            • (Ability being cast) Equal to (==) Healing Life
            • (Ability being cast) Equal to (==) Chain of Death
            • (Ability being cast) Equal to (==) Blink [Hero]
            • (Ability being cast) Equal to (==) Tracker
            • (Ability being cast) Equal to (==) Security Helper
            • (Ability being cast) Equal to (==) Building Protection
            • (Ability being cast) Equal to (==) Regrow Trees
    • Actions
      • Unit - Remove (Target unit of ability being cast) from the game
  • Fighting3
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Dying unit) is A Hero) Equal to (==) True
    • Actions
      • Player - Add 250 to (Owner of (Killing unit)) Current gold
      • Unit - Move (Killing unit) instantly to (Center of (Playable map area))
 
Last edited:
Status
Not open for further replies.
Top