• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece!🔗 Click here to enter!

Pick For Turn (Hero Defense)

Status
Not open for further replies.
Level 3
Joined
May 30, 2012
Messages
29
Hi.

I want one mode or system tavern.

In my system players can pick in 60 seconds one hero. dont for turn.

  • Time15
    • Events
      • Time - Elapsed game time is 15.00 seconds
    • Conditions
    • Actions
      • Trigger - Turn on ManualHeroL <gen>
      • Trigger - Turn on ManualHeroR <gen>
      • Trigger - Turn off (This trigger)
  • Time45
    • Events
      • Time - Elapsed game time is 45.00 seconds
    • Conditions
    • Actions
      • Game - Display to (All players) the text: You Still have 15 s...
      • Trigger - Turn off (This trigger)

  • Time60
    • Events
      • Time - Elapsed game time is 60.00 seconds
    • Conditions
    • Actions
      • Trigger - Turn off ManualHeroL <gen>
      • Trigger - Turn off ManualHeroR <gen>
      • Unit - Kill Sheep 0047 <gen>
      • Unit - Kill Sheep 0048 <gen>
      • Unit - Kill Sheep 0049 <gen>
      • Unit - Kill Sheep 0050 <gen>
      • Unit - Kill Sheep 0051 <gen>
      • Unit - Kill Sheep 0004 <gen>
      • Unit - Kill Sheep 0005 <gen>
      • Unit - Kill Sheep 0006 <gen>
      • Unit - Kill Sheep 0007 <gen>
      • Unit - Kill Sheep 0008 <gen>
      • Trigger - Turn off (This trigger)
  • ManualHeroL
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • ((Sold unit) is A Hero) Equal to True
          • Or - Any (Conditions) are true
            • Conditions
              • (Selling unit) Equal to TavernN1 0000 <gen>
              • (Selling unit) Equal to TavernN2 0001 <gen>
              • (Selling unit) Equal to TavernN3 0057 <gen>
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • HeroChosenByPlayer[(Player number of (Owner of (Sold unit)))] Equal to True
        • Then - Actions
          • Unit - Remove (Sold unit) from the game
        • Else - Actions
          • For each (Integer A) from 1 to RandomCount, do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Unit-type of (Sold unit)) Equal to HeroType[(Integer A)]
                • Then - Actions
                  • Set HeroType[(Integer A)] = HeroType[RandomCount]
                  • Set RandomCount = (RandomCount - 1)
                • Else - Actions
          • Set HeroChosenByPlayer[(Player number of (Owner of (Sold unit)))] = True
          • Unit - Move (Sold unit) instantly to (Center of StartPointL <gen>)
          • Game - Display to (All players) the text: (((Name of (Owner of (Buying unit))) + has chosen ) + (Name of (Sold unit)))
          • Player Group - Pick every player in (All allies of Player 6 (Orange)) and do (Actions)
            • Loop - Actions
              • Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by (Picked player)
          • For each (Integer A) from 1 to 24, do (Actions)
            • Loop - Actions
              • Player - Make HeroType[(Integer A)] Unavailable for training/construction by (Owner of (Buying unit))
              • Camera - Pan camera for (Owner of (Sold unit)) to (Center of StartPointL <gen>) over 1.00 seconds
              • Selection - Clear selection for (Owner of (Sold unit))
              • Selection - Add (Sold unit) to selection for (Owner of (Sold unit))

  • ManualHeroR
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • ((Sold unit) is A Hero) Equal to True
          • Or - Any (Conditions) are true
            • Conditions
              • (Selling unit) Equal to TavernN1 0002 <gen>
              • (Selling unit) Equal to TavernN2 0003 <gen>
              • (Selling unit) Equal to TavernN3 0058 <gen>
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • HeroChosenByPlayer[(Player number of (Owner of (Sold unit)))] Equal to True
        • Then - Actions
          • Unit - Remove (Sold unit) from the game
        • Else - Actions
          • For each (Integer B) from 1 to RandomCount, do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Unit-type of (Sold unit)) Equal to HeroType[(Integer B)]
                • Then - Actions
                  • Set HeroType[(Integer B)] = HeroType[RandomCount]
                  • Set RandomCount = (RandomCount - 1)
                • Else - Actions
          • Set HeroChosenByPlayer[(Player number of (Owner of (Sold unit)))] = True
          • Unit - Move (Sold unit) instantly to (Center of StartPointR <gen>)
          • Game - Display to (All players) the text: (((Name of (Owner of (Buying unit))) + has chosen ) + (Name of (Sold unit)))
          • Player Group - Pick every player in (All allies of Player 12 (Brown)) and do (Actions)
            • Loop - Actions
              • Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by (Picked player)
          • For each (Integer B) from 1 to 24, do (Actions)
            • Loop - Actions
              • Player - Make HeroType[(Integer B)] Unavailable for training/construction by (Owner of (Buying unit))
              • Camera - Pan camera for (Owner of (Sold unit)) to (Center of StartPointR <gen>) over 0.50 seconds
              • Selection - Clear selection for (Owner of (Sold unit))
              • Selection - Add (Sold unit) to selection for (Owner of (Sold unit))

I need one mode, where players in teams pick for turn.

First one player of team 1, next one player of team 2. next player of team 1, and again other player of team 2.


Like Dota

-leaguemode / -lm --> League Mode

All forms of random are disabled. 10 players required. The teams will pick in alternating orders, one team picking one hero, the other team picks two heroes, the first team picks two heroes, the other team picks two heroes, the first team picks their two last heroes, the other team picks their last hero (1-2-2-2-2-1). Each player has 20 seconds to pick a hero, otherwise one is randomed for him/her. The team which has the first pick is random. Can only pick from your side, Sentinel or Scourge, like Normal Mode.
 
Last edited:
Status
Not open for further replies.
Top