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
Blink Attack v1.7[B].w3x
Variables
leader board
create board
music
update
update Copy
No palyer
Ping
No palyer cont
Revive
win
win Copy
Shaman
leaver
leaver Copy
leaver Copy 2
leaver Copy 3
leaver Copy 4
leaver Copy 5
leaver Copy 6
leaver Copy 7
leaver Copy 8
leaver Copy 9
Bounty
no tk
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
player_group
force
No
player_group_Copy
force
No
Team_1_killz
integer
No
Team_1_killz_Copy
integer
No
timer
timer
No
create board
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Multiboard - Create a multiboard with 4 columns and 4 rows, titled Kills .
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 1 to Team 1
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 2 to (String(Team_1_killz))
Multiboard - Set the icon for (Last created multiboard) item in column 1 , row 1 to ReplaceableTextures\CommandButtons\BTNTreant.blp
Multiboard - Set the icon for (Last created multiboard) item in column 2 , row 2 to ReplaceableTextures\CommandButtons\BTNTreant.blp
music
Events
Player - Player 2 (Blue) types a chat message containing -secret (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Sound - Stop (Last played sound) Immediately
Sound - Play Chipmunks_jingle_bells <gen>
update
Events
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 9 (Gray) . Dies
Unit - A unit owned by Player 11 (Dark Green) . Dies
Conditions
Actions
Set Variable Set Team_1_killz_Copy = (Team_1_killz_Copy + 1)
Wait 0.50 seconds
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 2 to (String(Team_1_killz_Copy))
update 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 10 (Light Blue) . Dies
Unit - A unit owned by Player 12 (Brown) . Dies
Conditions
Actions
Set Variable Set Team_1_killz = (Team_1_killz + 1)
Wait 0.50 seconds
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 1 to (String(Team_1_killz))
No palyer
Events
Map initialization
Conditions
Actions
Player Group - Add Player 1 (Red) to player_group
Player Group - Add Player 2 (Blue) to player_group
Player Group - Add Player 3 (Teal) to player_group
Player Group - Add Player 4 (Purple) to player_group
Player Group - Add Player 9 (Gray) to player_group
Player Group - Add Player 11 (Dark Green) to player_group
Player Group - Add Player 5 (Yellow) to player_group_Copy
Player Group - Add Player 6 (Orange) to player_group_Copy
Player Group - Add Player 7 (Green) to player_group_Copy
Player Group - Add Player 8 (Pink) to player_group_Copy
Player Group - Add Player 12 (Brown) to player_group_Copy
Player Group - Add Player 10 (Light Blue) to player_group_Copy
Visibility - Disable black mask
Set Variable Set Team_1_killz = "0"
Set Variable Set Team_1_killz_Copy = "0"
Ping
Events
Time - Every 120.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Blink Warrior) and do (Ping minimap for (All players) at (Position of (Picked unit)) for 1 seconds)
No palyer cont
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in player_group and do (If (((Picked player) slot status) Equal to Is unused) then do (Pick every unit in (Units owned by (Picked player).) and do (Remove (Picked unit) from the game)) else do (Do nothing))
Player Group - Pick every player in player_group_Copy and do (If (((Picked player) slot status) Equal to Is unused) then do (Pick every unit in (Units owned by (Picked player).) and do (Remove (Picked unit) from the game)) else do (Do nothing))
Revive
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Blink Warrior
Actions
Game - Display to (All players) the text: ((Name of (Owner of (Dying unit))) + has lost his hero and will revive shortly!)
Wait 10.00 seconds
Hero - Instantly revive (Dying unit) at (Random point in (Playable map area)) , Show revival graphics
Camera - Pan camera for (Owner of (Dying unit)) to (Position of (Reviving Hero)) over 0.01 seconds
win
Events
Time - Every 2 seconds of game time
Conditions
Actions
If (Team_1_killz Equal to 50) then do (Pick every player in player_group and do (Victory (Picked player) (Show dialogs, Show scores))) else do (Turn off (This trigger))
If (Team_1_killz Equal to 50) then do (Pick every player in player_group_Copy and do (Defeat (Picked player) with the message: You tribe has failed..)) else do (Turn off (This trigger))
win Copy
Events
Time - Every 2 seconds of game time
Conditions
Actions
If (Team_1_killz_Copy Equal to 50) then do (Pick every player in player_group_Copy and do (Victory (Picked player) (Show dialogs, Show scores))) else do (Turn off (This trigger))
If (Team_1_killz_Copy Equal to 50) then do (Pick every player in player_group and do (Defeat (Picked player) with the message: You tribe has failed..)) else do (Turn off (This trigger))
Shaman
Events
Unit - A unit comes within 120.00 of Shaman 0022 <gen>
Conditions
Actions
Unit - Order Shaman 0022 <gen> to Orc Shaman - Bloodlust . (Triggering unit)
leaver
Events
Player - Player 2 (Blue) leaves the game
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + |CFF00A651Has left the game..)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Remove (Picked unit) from the game)
leaver Copy
Events
Player - Player 3 (Teal) leaves the game
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + |CFF00A651Has left the game..)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Remove (Picked unit) from the game)
leaver Copy 2
Events
Player - Player 4 (Purple) leaves the game
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + |CFF00A651Has left the game..)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Remove (Picked unit) from the game)
leaver Copy 3
Events
Player - Player 12 (Brown) leaves the game
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + |CFF00A651Has left the game..)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Remove (Picked unit) from the game)
leaver Copy 4
Events
Player - Player 6 (Orange) leaves the game
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + |CFF00A651Has left the game..)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Remove (Picked unit) from the game)
leaver Copy 5
Events
Player - Player 7 (Green) leaves the game
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + |CFF00A651Has left the game..)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Remove (Picked unit) from the game)
leaver Copy 6
Events
Player - Player 8 (Pink) leaves the game
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + |CFF00A651Has left the game..)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Remove (Picked unit) from the game)
leaver Copy 7
Events
Player - Player 9 (Gray) leaves the game
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + |CFF00A651Has left the game..)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Remove (Picked unit) from the game)
leaver Copy 8
Events
Player - Player 10 (Light Blue) leaves the game
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + |CFF00A651Has left the game..)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Remove (Picked unit) from the game)
leaver Copy 9
Events
Player - Player 11 (Dark Green) leaves the game
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + |CFF00A651Has left the game..)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Remove (Picked unit) from the game)
Bounty
Events
Unit - A unit Dies
Conditions
Actions
Player - Add 1 to (Owner of (Killing unit)) . Current gold
no tk
Events
Unit - A unit Is attacked
Conditions
((Attacked unit) belongs to an ally of (Owner of (Attacking unit)).) Equal to True
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.