• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Captin's mode/draft mode

Status
Not open for further replies.
Level 4
Joined
Apr 18, 2013
Messages
57
plz explain what the system does. i have no idea what ur looking for with that type of explanation

It's the ban select system that dota/LoL uses. At the beginning of the game you ban x number of heros one team after the other then once all heros you ban you select your heros 1 team after the other. It alows countering the other team in an orderly fashion so u don't have people camping out waiting to see what the other team picks so that they can counter. It also allows you to weed out those heros u just don't want to deal with
 
Level 4
Joined
Apr 18, 2013
Messages
57
y not just make a selection system. basically get the integer of how many ppl are playing. then have each person select the hero they want and increase another integer.
when the 2 integers match spawn the heroes for those players.

also ive never played dota or LoL

How would I do the banning part? I want certain heros made unavailable by player choice. I also need the hero selection made possible after banning
 
Level 4
Joined
Apr 18, 2013
Messages
57
y not just make a selection system. basically get the integer of how many ppl are playing. then have each person select the hero they want and increase another integer.
when the 2 integers match spawn the heroes for those players.

also ive never played dota or LoL

How would I make this go back in forth between players so it would go like p1 picks first then p6 picks then p2 picks etc.

the easiest way would be a boolean condition. if its true ppl can get that hero. if someone bans it then set the condition to false. that way it wont let ppl get that hero.

I'm sorry I am REALY new to this. I understand what you mean on the Boolean true false thing, but how would they be banned in the first place?
 
How would I make this go back in forth between players so it would go like p1 picks first then p6 picks then p2 picks etc.



I'm sorry I am REALY new to this. I understand what you mean on the Boolean true false thing, but how would they be banned in the first place?

well in the beginning start off with the players in an area they cant leave.
move player 1s wisp( hero selector) to the area were u select the heroes. when he is done move the next player to that spot. u can do this by using an array and an integer variable. the array is just the player's wisps.
the integer increases so it moves the next wisp after the hero is selected.

i dont mind the questions lol.

basically when u make the trigger that gives the hero to the unit u put all the actions in the then block of the ITE. u use the condition in the conditions block. that way if its false it wont let the hero be spawned or moved or whatever.
 
Level 4
Joined
Apr 18, 2013
Messages
57
basically when u make the trigger that gives the hero to the unit u put all the actions in the then block of the ITE. u use the condition in the conditions block. that way if its false it wont let the hero be spawned or moved or whatever.

I'm so completely lost, I'm sorry to ask but can u make an example of the banning, the selection I understand and know how I'll splice in after banning but I just don't understand the banning system
 
this will ban the players with a number. so put an integer above the hero and they type -ban #

  • banning
    • Events
      • Player - Player 1 (Red) types a chat message containing -ban as A substring
    • Conditions
    • Actions
      • Set enteredStr = (Entered chat string)
      • Set tempInt = (Integer((Substring(enteredStr, 6, (Length of enteredStr)))))
      • Set HeroBanningBoolean[tempInt] = False
here is how to give the hero to a player
  • hero selection
    • Events
      • Player - Player 1 (Red) types a chat message containing -hero as A substring
    • Conditions
    • Actions
      • Set enteredStr = (Entered chat string)
      • Set tempInt = (Integer((Substring(enteredStr, 7, (Length of enteredStr)))))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • HeroBanningBoolean[1] Equal to True
        • Then - Actions
          • -------- spawn hero for triggering player that has the number above the hero. --------
        • Else - Actions
only thing u need to set is in a trigger at map init store the heroes into an array. make sure to turn all booleans true
 
Level 4
Joined
Apr 18, 2013
Messages
57
tempInt is the integer that the player types in.

to ban u type -ban #
change the # to a number from 1 to however many heroes u have.

so how would i assign these numbers to the heros? i have a lot of the trigger put together im jsut missing a few things. ur tutorial has helped quite a bit with this trigger haha

i started doing this
  • Set Assassin = Assassin
but realized that was horribly wrong (variable=unit not variable=itself)

its one thing to realize what you did and another to do it >.<

ok i think i did it
  • Set AssassinInt[2] = (Point-value of Assassin)
is that right?
 
Status
Not open for further replies.
Top