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!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
Heroe's Fightclub V 0.10 Beta!.w3x
Variables
Hero Selection
Blademaster
Blademaster Copy
Blademaster Copy Copy
Blademaster Copy Copy 2
Blademaster Copy Copy 2 Copy
Blademaster Copy Copy 2 Copy Copy
Blademaster Copy Copy 2 Copy Copy Copy
Unit Spawns
Gold Bars
Unit Spawns Copy
Teleportation
Teleportation Copy
Exit Team 1
Exit Team 2
Respawn
Unit Respawn
Team 2 Respawn
Unit Respawn Copy
Item Recipe's
Items
Items Copy
Votekick System
Votekick
Votekick Part 2
Votekick Part 3
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
Dialog
dialog
No
DialogButtons
button
Yes
No
integer
No
Notvotedplayers
force
No
Temp_Group
group
No
Temp_Point
location
No
Yes
integer
No
Blademaster
Events
Unit - A unit enters Blademaster <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Hero Selector
Actions
Unit - Explode (Triggering unit) .
Set Variable Set Temp_Point = (Center of Picked_Hero <gen>)
Unit - Create 1 . |cff995500Undead Blademaster|r for (Owner of Hero Selector 0000 <gen>) at (Center of Picked_Hero <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Picked_Hero <gen>) over 0 seconds
Unit - Remove |cff995500Undead Blademaster|r 0002 <gen> from the game
Trigger - Turn off (This trigger)
Blademaster Copy
Events
Unit - A unit enters Arthas <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Hero Selector
Actions
Unit - Explode (Triggering unit) .
Set Variable Set Temp_Point = (Center of Picked_Hero <gen>)
Unit - Create 1 . |cff995500Dwarf Paladin|r for (Owner of Hero Selector 0000 <gen>) at (Center of Picked_Hero <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Picked_Hero <gen>) over 0 seconds
Unit - Remove |cff995500Dwarf Paladin|r 0006 <gen> from the game
Trigger - Turn off (This trigger)
Blademaster Copy Copy
Events
Unit - A unit enters Demon_Hunter <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Hero Selector
Actions
Unit - Explode (Triggering unit) .
Set Variable Set Temp_Point = (Center of Picked_Hero <gen>)
Unit - Create 1 . |cff995500Demon Hunter|r for (Owner of Hero Selector 0000 <gen>) at (Center of Picked_Hero <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Picked_Hero <gen>) over 0 seconds
Unit - Remove British Longbowman 0056 <gen> from the game
Trigger - Turn off (This trigger)
Unit Spawns
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Furbolg for Neutral Hostile at (Random point in Unit_Spawn <gen>) facing Default building facing degrees
Gold Bars
Events
Time - Every 140.00 seconds of game time
Conditions
Actions
Item - Create Gold Bars at (Random point in (Playable map area))
Unit Spawns Copy
Events
Time - Every 70.00 seconds of game time
Conditions
Actions
Unit - Create 1 . Thunder Lizard 2 for Neutral Hostile at (Random point in Unit_Spawn <gen>) facing Default building facing degrees
Teleportation
Events
Unit - A unit enters Teleporter_1 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Team_2 <gen>)
Teleportation Copy
Events
Unit - A unit enters Teleporter_2 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Team_1 <gen>)
Exit Team 1
Events
Unit - A unit enters Team_1_Exit <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Team_1_Exit_Destination <gen>)
Exit Team 2
Events
Unit - A unit enters Team_2_Exit <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Team_2_Exit_Destination <gen>)
Unit Respawn
Events
Unit - A unit owned by Player 1 (Red) . Dies
Unit - A unit owned by Player 2 (Blue) . Dies
Unit - A unit owned by Player 3 (Teal) . Dies
Unit - A unit owned by Player 4 (Purple) . Dies
Unit - A unit owned by Player 5 (Yellow) . Dies
Conditions
Actions
Wait 10.00 seconds
Hero - Instantly revive (Triggering unit) at (Center of Team_1 <gen>) , Show revival graphics
Unit Respawn Copy
Events
Unit - A unit owned by Player 6 (Orange) . Dies
Unit - A unit owned by Player 7 (Green) . Dies
Unit - A unit owned by Player 8 (Pink) . Dies
Unit - A unit owned by Player 9 (Gray) . Dies
Unit - A unit owned by Player 10 (Light Blue) . Dies
Conditions
Actions
Wait 10.00 seconds
Hero - Instantly revive (Triggering unit) at (Center of Team_1 <gen>) , Show revival graphics
Items
Events
Unit - A unit Acquires an item
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Hero manipulating item) has an item of type Enchanted Vial) Equal to True
((Hero manipulating item) has an item of type Kelen's Dagger of Escape) Equal to True
((Hero manipulating item) has an item of type Item) Equal to True
Then - Actions
Item - Remove (Item carried by (Hero manipulating item) of type Enchanted Vial)
Item - Remove (Item carried by (Hero manipulating item) of type Kelen's Dagger of Escape)
Item - Remove (Item carried by (Hero manipulating item) of type Item)
Hero - Create Flaming Orb and give it to (Hero manipulating item)
Special Effect - Create a special effect attached to the overhead (Unexpected type: 'attachpoint') of (Hero manipulating item) using Abilities\Spells\Items\AIam\AIamTarget.mdl
Wait 2.00 seconds
Special Effect - Destroy (Last created special effect)
Else - Actions
Items Copy
Events
Unit - A unit Acquires an item
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Hero manipulating item) has an item of type Frostsword) Equal to True
((Hero manipulating item) has an item of type Burning Sword) Equal to True
((Hero manipulating item) has an item of type Gloves of Swiftness) Equal to True
((Hero manipulating item) has an item of type Lightning Sword Recipe) Equal to True
Then - Actions
Item - Remove (Item carried by (Hero manipulating item) of type Frostsword)
Item - Remove (Item carried by (Hero manipulating item) of type Burning Sword)
Item - Remove (Item carried by (Hero manipulating item) of type Gloves of Swiftness)
Item - Remove (Item carried by (Hero manipulating item) of type Lightning Sword Recipe)
Hero - Create Lightning Sword and give it to (Hero manipulating item)
Special Effect - Create a special effect attached to the overhead (Unexpected type: 'attachpoint') of (Hero manipulating item) using Abilities\Spells\Items\AIam\AIamTarget.mdl
Wait 2.00 seconds
Special Effect - Destroy (Last created special effect)
Else - Actions
Votekick
Events
Map initialization
Conditions
Actions
Dialog - Create a dialog button for Dialog labelled Yes
Dialog - Create a dialog button for Dialog labelled No
Set Variable Set DialogButtons[1] = (Last created dialog Button)
Set Variable Set DialogButtons[2] = (Last created dialog Button)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player Group - Add (Picked player) to Notvotedplayers
Votekick Part 2
Events
Player - Player 1 (Red) types a chat message containing -kick (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 7, 20)) Equal to blue
Then - Actions
Player Group - Remove Player 2 (Blue) from Notvotedplayers .
Dialog - Change the title of Dialog to (Do you want + ((Name of Player 2 (Blue)) + to be kicked?))
Player Group - Pick every player in Notvotedplayers and do (Actions)
Loop - Actions
Dialog - Show Dialog for (Picked player)
Wait 10.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Yes Greater than No
Then - Actions
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Display to (All players) the text: ((Name of Player 2 (Blue)) + has been kicked from the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
Player Group - Add Player 2 (Blue) to Notvotedplayers
Game - Display to (All players) the text: ((Name of Player 2 (Blue)) + is still in the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 7, 20)) Equal to teal
Then - Actions
Player Group - Remove Player 3 (Teal) from Notvotedplayers .
Dialog - Change the title of Dialog to (Do you want + ((Name of Player 3 (Teal)) + to be kicked?))
Player Group - Pick every player in Notvotedplayers and do (Actions)
Loop - Actions
Dialog - Show Dialog for (Picked player)
Wait 10.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Yes Greater than No
Then - Actions
Game - Defeat Player 3 (Teal) with the message: Defeat!
Game - Display to (All players) the text: ((Name of Player 3 (Teal)) + has been kicked from the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
Player Group - Add Player 3 (Teal) to Notvotedplayers
Game - Display to (All players) the text: ((Name of Player 3 (Teal)) + is still in the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 7, 20)) Equal to purple
Then - Actions
Player Group - Remove Player 4 (Purple) from Notvotedplayers .
Dialog - Change the title of Dialog to (Do you want + ((Name of Player 4 (Purple)) + to be kicked?))
Player Group - Pick every player in Notvotedplayers and do (Actions)
Loop - Actions
Dialog - Show Dialog for (Picked player)
Wait 10.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Yes Greater than No
Then - Actions
Game - Defeat Player 4 (Purple) with the message: Defeat!
Game - Display to (All players) the text: ((Name of Player 4 (Purple)) + has been kicked from the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
Player Group - Add Player 4 (Purple) to Notvotedplayers
Game - Display to (All players) the text: ((Name of Player 4 (Purple)) + is still in the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 7, 20)) Equal to yellow
Then - Actions
Player Group - Remove Player 5 (Yellow) from Notvotedplayers .
Dialog - Change the title of Dialog to (Do you want + ((Name of Player 5 (Yellow)) + to be kicked?))
Player Group - Pick every player in Notvotedplayers and do (Actions)
Loop - Actions
Dialog - Show Dialog for (Picked player)
Wait 10.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Yes Greater than No
Then - Actions
Game - Defeat Player 5 (Yellow) with the message: Defeat!
Game - Display to (All players) the text: ((Name of Player 5 (Yellow)) + has been kicked from the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
Player Group - Add Player 5 (Yellow) to Notvotedplayers
Game - Display to (All players) the text: ((Name of Player 5 (Yellow)) + is still in the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 7, 20)) Equal to orange
Then - Actions
Player Group - Remove Player 6 (Orange) from Notvotedplayers .
Dialog - Change the title of Dialog to (Do you want + ((Name of Player 6 (Orange)) + to be kicked?))
Player Group - Pick every player in Notvotedplayers and do (Actions)
Loop - Actions
Dialog - Show Dialog for (Picked player)
Wait 10.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Yes Greater than No
Then - Actions
Game - Defeat Player 6 (Orange) with the message: Defeat!
Game - Display to (All players) the text: ((Name of Player 6 (Orange)) + has been kicked from the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
Player Group - Add Player 6 (Orange) to Notvotedplayers
Game - Display to (All players) the text: ((Name of Player 6 (Orange)) + is still in the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 7, 20)) Equal to green
Then - Actions
Player Group - Remove Player 7 (Green) from Notvotedplayers .
Dialog - Change the title of Dialog to (Do you want + ((Name of Player 7 (Green)) + to be kicked?))
Player Group - Pick every player in Notvotedplayers and do (Actions)
Loop - Actions
Dialog - Show Dialog for (Picked player)
Wait 10.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Yes Greater than No
Then - Actions
Game - Defeat Player 7 (Green) with the message: Defeat!
Game - Display to (All players) the text: ((Name of Player 7 (Green)) + has been kicked from the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
Player Group - Add Player 7 (Green) to Notvotedplayers
Game - Display to (All players) the text: ((Name of Player 7 (Green)) + is still in the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 7, 20)) Equal to pink
Then - Actions
Player Group - Remove Player 8 (Pink) from Notvotedplayers .
Dialog - Change the title of Dialog to (Do you want + ((Name of Player 8 (Pink)) + to be kicked?))
Player Group - Pick every player in Notvotedplayers and do (Actions)
Loop - Actions
Dialog - Show Dialog for (Picked player)
Wait 10.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Yes Greater than No
Then - Actions
Game - Defeat Player 8 (Pink) with the message: Defeat!
Game - Display to (All players) the text: ((Name of Player 8 (Pink)) + has been kicked from the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
Player Group - Add Player 8 (Pink) to Notvotedplayers
Game - Display to (All players) the text: ((Name of Player 8 (Pink)) + is still in the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 7, 20)) Equal to gray
Then - Actions
Player Group - Remove Player 9 (Gray) from Notvotedplayers .
Dialog - Change the title of Dialog to (Do you want + ((Name of Player 9 (Gray)) + to be kicked?))
Player Group - Pick every player in Notvotedplayers and do (Actions)
Loop - Actions
Dialog - Show Dialog for (Picked player)
Wait 10.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Yes Greater than No
Then - Actions
Game - Defeat Player 9 (Gray) with the message: Defeat!
Game - Display to (All players) the text: ((Name of Player 9 (Gray)) + has been kicked from the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
Player Group - Add Player 9 (Gray) to Notvotedplayers
Game - Display to (All players) the text: ((Name of Player 9 (Gray)) + is still in the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 7, 20)) Equal to lightblue
Then - Actions
Player Group - Remove Player 10 (Light Blue) from Notvotedplayers .
Dialog - Change the title of Dialog to (Do you want + ((Name of Player 10 (Light Blue)) + to be kicked?))
Player Group - Pick every player in Notvotedplayers and do (Actions)
Loop - Actions
Dialog - Show Dialog for (Picked player)
Wait 10.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Yes Greater than No
Then - Actions
Game - Defeat Player 10 (Light Blue) with the message: Defeat!
Game - Display to (All players) the text: ((Name of Player 10 (Light Blue)) + has been kicked from the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
Player Group - Add Player 10 (Light Blue) to Notvotedplayers
Game - Display to (All players) the text: ((Name of Player 10 (Light Blue)) + is still in the game)
Set Variable Set No = "0"
Set Variable Set Yes = "0"
Else - Actions
Votekick Part 3
Events
Dialog - A dialog button is clicked for Dialog
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to DialogButtons[1]
Then - Actions
Set Variable Set Yes = (Yes + 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.