• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Making a Group

Status
Not open for further replies.
Level 1
Joined
Jun 21, 2009
Messages
282
I've recently thought of this very unique way to group up with other players.

So this is what I need: There will be 3 circle of powers, 1 circle of power for each group member, there are 3 group members total for 1 team, when a hero is over one of those circle of powers, the circle of power will lite up the color of the player (player red hero is over the circle of power, the circle of power lights up red, but will unlight red when he moves away from it and won't be assigned on a team)

So, once all 3 players that have their heroes on these 3 circle of powers, I need a trigger where a team window on the right up corner of the screen will appear where it'll show the percent of HP and Mana of your team members and yourself, also I need it so you've shared vision with your 2 or 3 teamates.

You can team up with 1 or 2 people and the circle of powers will group you, once you're both on the circle of powers you say something like -make group

In order to remove yourself from the group, you type -leave group and the window in the upper right hand corner will disapear and the shared player vision will go away.

Put this onto a map and also read this other trigger aswell, this other trigger puts people onto groups every 5 seconds. (Not sure if this trigger works properly or not, need another player to test it out and hopefully this trigger doesn't interfer with with grouping up trigger..)

  • Ally Players
    • Events
      • Time - Every 5.00 seconds of game time
    • Conditions
    • Actions
      • -------- Clear Forces --------
      • For each (Integer A) from 1 to 5, do (Actions)
        • Loop - Actions
          • Player Group - Remove all players from alliedForce[(Integer A)]
      • -------- Unally all players --------
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • For each (Integer B) from 1 to 12, do (Actions)
            • Loop - Actions
              • Player - Make (Player((Integer A))) treat (Player((Integer B))) as an Enemy
      • -------- Checking for abilities --------
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Leaf Village Ninja for Hero[(Integer A)]) Greater than 0
            • Then - Actions
              • Player Group - Add (Player((Integer A))) to alliedForce[1]
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Level of Cloud Village Ninja for Hero[(Integer A)]) Greater than 0
                • Then - Actions
                  • Player Group - Add (Player((Integer A))) to alliedForce[2]
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Level of Mist Village Ninja for Hero[(Integer A)]) Greater than 0
                    • Then - Actions
                      • Player Group - Add (Player((Integer A))) to alliedForce[3]
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • (Level of Sand Village Ninja for Hero[(Integer A)]) Greater than 0
                        • Then - Actions
                          • Player Group - Add (Player((Integer A))) to alliedForce[4]
                        • Else - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • (Level of Rock Village Ninja for Hero[(Integer A)]) Greater than 0
                            • Then - Actions
                              • Player Group - Add (Player((Integer A))) to alliedForce[5]
                            • Else - Actions
      • -------- Ally the correct players --------
      • For each (Integer A) from 1 to 5, do (Actions)
        • Loop - Actions
          • Player Group - Pick every player in alliedForce[(Integer A)] and do (Actions)
            • Loop - Actions
              • Set tempPlayer = (Picked player)
              • Player Group - Pick every player in alliedForce[(Integer A)] and do (Actions)
                • Loop - Actions
                  • Player - Make tempPlayer treat (Picked player) as an Ally
Please and thank you.
 
Last edited:
Status
Not open for further replies.
Top