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 Blink Revenge (SinglePlayer).w3x
Variables
Player 1
Hero Teleporter 1
LeaderBoard
LeaderBoard Change
Hero Kill Red 1
Hero Kill Blue 1
Hero Kill Green 1
Units Red Summon 1
Units Blue Summon 1
Units Green Summon 1
Units Red Order 1
Units Blue Order 1
Units Green Order 1
Carema
Variables 1
Lives Minus Red 1
Visiblity
Lives Minus Blue 1
Lives Die
Lives Minus Green 1
AntiTeleport
First Half Die
Second Half Die
Third Half Die
No Kill
No Kill Blue
No Kill Green
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
Lives
integer
No
Points
integer
No
Hero Teleporter 1
Events
Unit - A unit enters Red_Tap <gen>
Unit - A unit enters Blue_Tap <gen>
Unit - A unit enters Green_Tap <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit - Move (Triggering unit) instantly to (Center of Hero_Teleport_Bak <gen>)
LeaderBoard
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Multiboard - Create a multiboard with 3 columns and 12 rows, titled Blink Blink Revenge .
Multiboard - Set the width for (Last created multiboard) item in column 0 , row 0 to 7.00 % of the total screen width
Multiboard - Set the display style for (Last created multiboard) item in column 0 , row 0 to Show text and Hide icons
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 1 to Player Name
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 1 to Lives
Multiboard - Set the text for (Last created multiboard) item in column 3 , row 1 to Points
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 2 to (Name of Player 1 (Red))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 2 to ( + (String(Lives)))
Multiboard - Set the text for (Last created multiboard) item in column 3 , row 2 to (String(Points))
LeaderBoard Change
Events
Unit - A unit Dies
Conditions
Actions
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 2 to ( + (String(Lives)))
Multiboard - Set the text for (Last created multiboard) item in column 3 , row 2 to (String(Points))
Hero Kill Red 1
Events
Unit - A unit enters Red_Tap <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit Group - Pick every unit in (Units in Red_Tap <gen> owned by Player 12 (Brown)) and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
Hero Kill Blue 1
Events
Unit - A unit enters Blue_Tap <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit Group - Pick every unit in (Units in Blue_Tap <gen> owned by Player 12 (Brown)) and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
Hero Kill Green 1
Events
Unit - A unit enters Green_Tap <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit Group - Pick every unit in (Units in Green_Tap <gen> owned by Player 12 (Brown)) and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
Units Red Summon 1
Events
Time - Every (Random real number between 1.00 and 10.00) seconds of game time
Conditions
Actions
Unit - Create 1 . dontbotherme for Player 12 (Brown) at (Center of Red_Entry <gen>) facing Default building facing degrees
Units Blue Summon 1
Events
Time - Every (Random real number between 1.00 and 5.00) seconds of game time
Conditions
Actions
Unit - Create 1 . dontbotherme for Player 12 (Brown) at (Center of Blue_Entry <gen>) facing Default building facing degrees
Units Green Summon 1
Events
Time - Every (Random real number between 1.00 and 7.00) seconds of game time
Conditions
Actions
Unit - Create 1 . dontbotherme for Player 12 (Brown) at (Center of Green_Entry <gen>) facing Default building facing degrees
Units Red Order 1
Events
Unit - A unit enters Red_Entry <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of Red_Leak <gen>)
Units Blue Order 1
Events
Unit - A unit enters Blue_Entry <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of Blue_Leak <gen>)
Units Green Order 1
Events
Unit - A unit enters Green_Entry <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of Green_Leak <gen>)
Carema
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Camera - Set (Picked player) 's camera Distance to target to 2300.00 over 0 seconds
Variables 1
Events
Map initialization
Conditions
Actions
Set Variable Set Lives = "20"
Set Variable Set Points = "0"
Lives Minus Red 1
Events
Unit - A unit enters Red_Leak <gen>
Conditions
((Triggering unit) is A Hero) Equal to False
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Lives Greater than 0
Then - Actions
Set Variable Set Lives = (Lives - 1)
Game - Display to Player Group - Player 1 (Red) the text: (You have leaked + ( (Remaining Lives left = + (String(Lives))))
Unit Group - Pick every unit in (Units in Region_010 <gen>) and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
Else - Actions
Game - Display to (All players) the text: ((Name of Player 1 (Red)) + has lost ! )
Visiblity
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across (Playable map area)
Visibility - Disable black mask
Lives Minus Blue 1
Events
Unit - A unit enters Blue_Leak <gen>
Conditions
((Triggering unit) is A Hero) Equal to False
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Lives Greater than 0
Then - Actions
Set Variable Set Lives = (Lives - 1)
Game - Display to Player Group - Player 1 (Red) the text: (You have leaked + ( (Remaining Lives left = + (String(Lives))))
Unit Group - Pick every unit in (Units in Region_011 <gen>) and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
Else - Actions
Game - Display to (All players) the text: ((Name of Player 1 (Red)) + has lost ! )
Lives Die
Events
Time - Every 0.01 seconds of game time
Conditions
Lives Equal to 0
Actions
Unit Group - Pick every unit in (Units in Anti_Teleport <gen>) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Lives Minus Green 1
Events
Unit - A unit enters Green_Leak <gen>
Conditions
((Triggering unit) is A Hero) Equal to False
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Lives Greater than 0
Then - Actions
Set Variable Set Lives = (Lives - 1)
Game - Display to Player Group - Player 1 (Red) the text: (You have leaked + ( (Remaining Lives left = + (String(Lives))))
Unit Group - Pick every unit in (Units in Region_012 <gen>) and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
Else - Actions
Game - Display to (All players) the text: ((Name of Player 1 (Red)) + has lost ! )
AntiTeleport
Events
Unit - A unit enters Anti_Teleport <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) Equal to Blood Mage 0003 <gen>) or ((Owner of (Triggering unit)) Equal to Player 12 (Brown))
Then - Actions
Do nothing
Else - Actions
Unit - Move (Triggering unit) instantly to ((Owner of (Triggering unit)) start location)
First Half Die
Events
Unit - A unit Dies
Conditions
(Player_1_Kill_onethird <gen> contains (Dying unit)) Equal to True
Actions
Floating Text - Create floating text that reads Good! at (Position of (Dying unit)) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Set Variable Set Points = (Points + 25)
Second Half Die
Events
Unit - A unit Dies
Conditions
(Player_1_Kill_twothird <gen> contains (Dying unit)) Equal to True
Actions
Floating Text - Create floating text that reads Perfect! at (Position of (Dying unit)) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Set Variable Set Points = (Points + 50)
Third Half Die
Events
Unit - A unit Dies
Conditions
(Player_1_Kill_thirdthird <gen> contains (Dying unit)) Equal to True
Actions
Floating Text - Create floating text that reads Close Call! at (Position of (Dying unit)) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Set Variable Set Points = (Points + 10)
No Kill
Events
Unit - A unit enters Fail_Shot <gen>
Conditions
And - All (Conditions) are true
Conditions
((Triggering unit) is A Hero) Equal to True
(Number of units in (Units in Fail_Shot <gen> owned by Player 12 (Brown))) Equal to 0
Actions
Floating Text - Create floating text that reads Fail at (Position of (Triggering unit)) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Set Variable Set Points = (Points - 50)
Multiboard - Set the text for (Last created multiboard) item in column 3 , row 2 to (String(Points))
No Kill Blue
Events
Unit - A unit enters Fail_Shot_Blue <gen>
Conditions
And - All (Conditions) are true
Conditions
((Triggering unit) is A Hero) Equal to True
(Number of units in (Units in Fail_Shot_Blue <gen> owned by Player 12 (Brown))) Equal to 0
Actions
Floating Text - Create floating text that reads Fail at (Position of (Triggering unit)) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Set Variable Set Points = (Points - 50)
Multiboard - Set the text for (Last created multiboard) item in column 3 , row 2 to (String(Points))
No Kill Green
Events
Unit - A unit enters Fail_Shot_Green <gen>
Conditions
And - All (Conditions) are true
Conditions
((Triggering unit) is A Hero) Equal to True
(Number of units in (Units in Fail_Shot_Green <gen> owned by Player 12 (Brown))) Equal to 0
Actions
Floating Text - Create floating text that reads Fail at (Position of (Triggering unit)) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Set Variable Set Points = (Points - 50)
Multiboard - Set the text for (Last created multiboard) item in column 3 , row 2 to (String(Points))
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.