How to do a Same Hero mode -sh

Status
Not open for further replies.
This aint working. How i do this can some one help me out here pls.

Now i have those triggers.

  • Same Hero Mode
    • Events
      • Player - Player 2 (Blue) types a chat message containing -sh as A substring
      • Player - Player 2 (Blue) types a chat message containing -same as A substring
      • Player - Player 2 (Blue) types a chat message containing -same hero as A substring
    • Conditions
    • Actions
      • Game - Display to (All players) for 5.00 seconds the text: Same Hero Mode Enab...
      • Trigger - Turn off Same Hero Enabled <gen>
  • Same Hero Enabled
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Melee Game - Limit Heroes to 1 per Hero-type (for all players)
So how do i do this stuff?
 
lol since it's a "map initialization" trigger it's no matter if you turn it off...
don't tell me that it's not working.... I tested it and it's just perfect....
  • Init
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Hero[1] = Archmage
      • Set Hero[2] = Blood Mage
      • Set Hero[3] = Paladin
      • Set Hero[4] = Mountain King
  • Same Hero
    • Events
      • Player - Player 1 (Red) types a chat message containing -sh as A substring
    • Conditions
    • Actions
      • Trigger - Run Same Hero Spawn <gen> (checking conditions)
  • Same Hero Spawn (turned off)
    • Events
    • Conditions
    • Actions
      • Set Random = (Random integer number between 1 and 4)
      • Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Hero[Random] for (Picked player) at (Center of (Playable map area)) facing Default building facing degrees
 
lol since it's a "map initialization" trigger it's no matter if you turn it off...
don't tell me that it's not working.... I tested it and it's just perfect....
  • Init
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Hero[1] = Archmage
      • Set Hero[2] = Blood Mage
      • Set Hero[3] = Paladin
      • Set Hero[4] = Mountain King
  • Same Hero
    • Events
      • Player - Player 1 (Red) types a chat message containing -sh as A substring
    • Conditions
    • Actions
      • Trigger - Run Same Hero Spawn <gen> (checking conditions)
  • Same Hero Spawn (turned off)
    • Events
    • Conditions
    • Actions
      • Set Random = (Random integer number between 1 and 4)
      • Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Hero[Random] for (Picked player) at (Center of (Playable map area)) facing Default building facing degrees
LOL! =.= he said "SAME HERO" not "ALL RANDOM"
 
You disable hero selection for all other players. This is a good start.
Then you simply listen for player 1 making a selection (by this, I mean respond to the him making a selection). The actions are self explanitory (for all players but red, make a unit of the same type as the one red choose in response to the event).
 
Status
Not open for further replies.
Back
Top