Nivius
TH.net Regular
- Reaction score
- 5
Trigger:
- Repick
- Events
- Player - Player 1 (Red) types a chat message containing -repick as An exact match
- Player - Player 2 (Blue) types a chat message containing -repick as An exact match
- Player - Player 3 (Teal) types a chat message containing -repick as An exact match
- Player - Player 4 (Purple) types a chat message containing -repick as An exact match
- Player - Player 5 (Yellow) types a chat message containing -repick as An exact match
- Player - Player 6 (Orange) types a chat message containing -repick as An exact match
- Player - Player 7 (Green) types a chat message containing -repick as An exact match
- Player - Player 8 (Pink) types a chat message containing -repick as An exact match
- Player - Player 9 (Gray) types a chat message containing -repick as An exact match
- Player - Player 10 (Light Blue) types a chat message containing -repick as An exact match
- Conditions
- Actions
- Unit Group - Pick every unit in (Random 1 units from (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True))) and do (Actions)
- Loop - Actions
- Unit - Remove (Picked unit) from the game
- Loop - Actions
- Game - Display to (All players) for 10.00 seconds the text: ((Name of (Owner of (Last created unit))) + Repicked)
- Set Point = (Center of Wisp Spawn Area <gen>)
- Camera - Pan camera for (Triggering player) to Point over 0.00 seconds
- Custom script: call RemoveLocation(udg_Point)
- Set Point = (Center of Wisp Spawn Area <gen>)
- Unit - Create 1 Wisp choser for (Triggering player) at Point facing Default building facing degrees
- Custom script: call RemoveLocation(udg_Point)
- Selection - Select (Last created unit) for (Owner of (Last created unit))
- Unit Group - Pick every unit in (Random 1 units from (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True))) and do (Actions)
- Events
this is the script i have now, and atm it dont have any way of "renenbleing" a unit...
info that is good to know:
when a player choses a hero
White_Pick_Taken[1] = that players number
1="Noble Knight"
2="Rampaging monster"
3="Murloc"
and so on
so i need a way of getting "triggering player"s number and "search?" for what White_Pick_Taken[x] its in, then make it 0 again
(( think i can get number by get (player number of (owner of (triggering unit)))
im not realy intressted in a 36 IF ( White_Pick_Taken[1] = player number ) and so on