Bannig system

Bladezor

You can change this now in User CP.
Reaction score
0
Hi! I wonder if can make a system like at the start of the map, they can ban 1 unit each team. so that unit remove from the game and no one can buy that unit.
But I want first that player red can choose between the normal system and banning system.

I will be pretty happy if I can get help :D
if you need more information just write, so I can know.
 

Mr.Tutorial

Hard in the Paint.
Reaction score
42
Unless I know EXACTLY what you want, I can't help too much. You can start by making a dialog though, unless you want "-mode ban" or "-mode normal" type deal.

This is how you setup a dialog:

Trigger:
  • DIALOG
    • Events
    • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
    • Dialog - Clear Dialog
    • Dialog - Change the title of Dialog to Game Mode:
    • Dialog - Create a dialog button for Dialog labelled Normal Mode
    • Set Dialogbutton[1] = (Last created dialog Button)
    • Dialog - Create a dialog button for Dialog labelled Ban Mode
    • Set Dialogbutton[2] = (Last created dialog Button)
    • Dialog - Show Dialog for Player 1 (Red)


Your dialog buttons.
Dialog Button #1 = Your normal mode.
Dialog Button #2 = Your unit ban mode.

Trigger:
  • Button 1
    • Events
    • Dialog - A dialog button is clicked for Dialog
    • Conditions
    • (Clicked dialog button) Equal to Dialogbutton[1]
    • Actions
    • (Your Actions)

Trigger:
  • Button 2
    • Events
    • Dialog - A dialog button is clicked for Dialog
    • Conditions
    • (Clicked dialog button) Equal to Dialogbutton[2]
    • Actions
    • (Your Actions


It's hard for me to give you the actions for the triggers when I have no idea what your trying to accomplish with your map.

You can then, make a trigger for every player, and when that player selects one of the units in your "BAN" unit region, you can then remove that unit from the game.

Also, I suggest you put every unit you want to ban in it's own variable. Using: "Unit (array)"

~ Happy Triggering.
 

FireBladesX

Eating my wings!
Reaction score
123
How do you envision the banning process itself? One possible way is this:
All of the bannable units appear in a circle, everyone can see them.

Trigger:
  • Red Ban
    • Events
      • Player - Player 1 (Red) Selects a unit
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Limit training of (Unit-type of (Triggering unit)) to 0 for (Picked player)
      • Trigger - Turn off (This trigger)
      • Trigger - Turn on Blue Ban <gen>

You would make one of these triggers for every player. Maybe also put in a timer if someone is taking too long.
 
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