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
BikiniWar v1.0(p).w3x
Variables
Creeps
Creep
create
Laderboard
start
kill
Shop
Region
Ostalo
gold
random
Start
Respawn
Random Hero
Dies
Selection
Nachrichten
Leave
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
Random
integer
No
T1
integer
No
T2
integer
No
T3
integer
No
T4
integer
No
T5
integer
No
T6
integer
No
Creep
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
Actions
Wait 30.00 seconds
Unit - Create 1 . (Random level (Hero level of (Killing unit)) creep unit-type) for Neutral Hostile at (Position of (Dying unit)) facing Default building facing degrees
create
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Random Equal to 3
Then - Actions
Unit - Create 1 . Hydra Hatchling for Neutral Hostile at (Random point in Tele_1 <gen>) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Random Equal to 2
Then - Actions
Unit - Create 1 . Hydra Hatchling for Neutral Hostile at (Random point in Tele_2 <gen>) facing Default building facing degrees
Else - Actions
Unit - Create 1 . Hydra Hatchling for Neutral Hostile at (Random point in Tele_3 <gen>) facing Default building facing degrees
start
Events
Time - Elapsed game time is 0.10 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled TRIGSTR_064
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player 1 (Red) slot status) Equal to Is playing) or ((Player 2 (Blue) slot status) Equal to Is playing)
Then - Actions
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label TRIGSTR_065 and value T1
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player 3 (Teal) slot status) Equal to Is playing) or ((Player 4 (Purple) slot status) Equal to Is playing)
Then - Actions
Leaderboard - Add Player 3 (Teal) to (Last created leaderboard) with label TRIGSTR_066 and value T2
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player 5 (Yellow) slot status) Equal to Is playing) or ((Player 6 (Orange) slot status) Equal to Is playing)
Then - Actions
Leaderboard - Add Player 5 (Yellow) to (Last created leaderboard) with label TRIGSTR_067 and value T3
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player 7 (Green) slot status) Equal to Is playing) or ((Player 8 (Pink) slot status) Equal to Is playing)
Then - Actions
Leaderboard - Add Player 7 (Green) to (Last created leaderboard) with label TRIGSTR_068 and value T4
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player 9 (Gray) slot status) Equal to Is playing) or ((Player 10 (Light Blue) slot status) Equal to Is playing)
Then - Actions
Leaderboard - Add Player 9 (Gray) to (Last created leaderboard) with label TRIGSTR_069 and value T5
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player 11 (Dark Green) slot status) Equal to Is playing) or ((Player 12 (Brown) slot status) Equal to Is playing)
Then - Actions
Leaderboard - Add Player 11 (Dark Green) to (Last created leaderboard) with label TRIGSTR_070 and value T6
Else - Actions
Do nothing
kill
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
T1 Equal to 20
Then - Actions
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
Player Group - Pick every player in (All enemies of Player 1 (Red).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: TRIGSTR_078
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
T2 Equal to 20
Then - Actions
Player Group - Pick every player in (All allies of Player 3 (Teal).) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
Player Group - Pick every player in (All enemies of Player 3 (Teal).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: TRIGSTR_079
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
T3 Equal to 20
Then - Actions
Player Group - Pick every player in (All allies of Player 5 (Yellow).) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
Player Group - Pick every player in (All enemies of Player 5 (Yellow).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: TRIGSTR_080
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
T4 Equal to 20
Then - Actions
Player Group - Pick every player in (All allies of Player 7 (Green).) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
Player Group - Pick every player in (All enemies of Player 7 (Green).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: TRIGSTR_081
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
T5 Equal to 20
Then - Actions
Player Group - Pick every player in (All allies of Player 9 (Gray).) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
Player Group - Pick every player in (All enemies of Player 9 (Gray).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: TRIGSTR_082
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
T6 Equal to 20
Then - Actions
Player Group - Pick every player in (All allies of Player 11 (Dark Green).) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
Player Group - Pick every player in (All enemies of Player 11 (Dark Green).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: TRIGSTR_083
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Killing unit)) Equal to Player 1 (Red)) or ((Owner of (Killing unit)) Equal to Player 2 (Blue))
Then - Actions
Set Variable Set T1 = (T1 + 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to T1
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Killing unit)) Equal to Player 3 (Teal)) or ((Owner of (Killing unit)) Equal to Player 4 (Purple))
Then - Actions
Set Variable Set T2 = (T2 + 1)
Leaderboard - Change the value for Player 3 (Teal) in (Last created leaderboard) to T2
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Killing unit)) Equal to Player 5 (Yellow)) or ((Owner of (Killing unit)) Equal to Player 6 (Orange))
Then - Actions
Set Variable Set T3 = (T3 + 1)
Leaderboard - Change the value for Player 5 (Yellow) in (Last created leaderboard) to T3
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Killing unit)) Equal to Player 8 (Pink)) or ((Owner of (Killing unit)) Equal to Player 7 (Green))
Then - Actions
Set Variable Set T4 = (T4 + 1)
Leaderboard - Change the value for Player 7 (Green) in (Last created leaderboard) to T4
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Killing unit)) Equal to Player 9 (Gray)) or ((Owner of (Killing unit)) Equal to Player 10 (Light Blue))
Then - Actions
Set Variable Set T5 = (T5 + 1)
Leaderboard - Change the value for Player 9 (Gray) in (Last created leaderboard) to T5
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Killing unit)) Equal to Player 11 (Dark Green)) or ((Owner of (Killing unit)) Equal to Player 12 (Brown))
Then - Actions
Set Variable Set T6 = (T6 + 1)
Leaderboard - Change the value for Player 11 (Dark Green) in (Last created leaderboard) to T6
Else - Actions
Do nothing
Region
Events
Unit - A unit enters Shop <gen>
Conditions
Actions
Quest - Display to (All players matching ((Shop <gen> contains (Triggering unit)) Equal to True).) the Hint message: TRIGSTR_007
Wait 60.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Random Equal to 3
Then - Actions
Unit - Move (Triggering unit) instantly to (Random point in Tele_1 <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 0.50 seconds
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Random Equal to 2
Then - Actions
Unit - Move (Triggering unit) instantly to (Random point in Tele_2 <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 0.50 seconds
Else - Actions
Unit - Move (Triggering unit) instantly to (Random point in Tele_3 <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 0.50 seconds
gold
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Add 5 to (Picked player).Current gold)
random
Events
Time - Every 40.00 seconds of game time
Unit - A unit enters Hero <gen>
Unit - A unit enters Shop <gen>
Unit - A unit enters Tele_1 <gen>
Unit - A unit enters Tele_2 <gen>
Unit - A unit enters Tele_3 <gen>
Conditions
Actions
Unit Group - Pick every unit in (Units in Grunts <gen>) and do (Actions)
Loop - Actions
Set Variable Set Random = (Level of (Random unit from (Units in Grunts <gen>)))
Start
Events
Map initialization
Conditions
Actions
Unit Group - Pick every unit in (Units in Grunts <gen>) and do (Actions)
Loop - Actions
Set Variable Set Random = (Level of (Random unit from (Units in Grunts <gen>)))
Game - Set the time of day to 4.50
Game - Turn the day/night cycle Off
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Turn Gives bounty On for (Picked player)
Player - Set (Picked player) . Current gold to 65
Unit Group - Pick every unit in (Units in Grunts <gen>) and do (Make (Picked unit) Invulnerable)
Random Hero
Events
Unit - A unit enters Hero <gen>
Conditions
((Unit-type of (Triggering unit)) Equal to Random Hero) or ((Unit-type of (Triggering unit)) Equal to Tavern)
Actions
Unit - Kill (Triggering unit)
Unit - Create 1 . (Unit-type of (Random unit from (Units in Hero <gen>))) for (Owner of (Triggering unit)) at (Random point in Hero <gen>) facing Default building facing degrees
Dies
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Quest - Display to (All players) the Hint message: ((Name of (Owner of (Killing unit))) + (has killed + ((Name of (Owner of (Dying unit))) + 's Hero.)))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Random Equal to 3
Then - Actions
Wait 5.00 seconds
Hero - Instantly revive (Triggering unit) at (Random point in Tele_1 <gen>) , Show revival graphics
Camera - Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 0.50 seconds
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Random Equal to 2
Then - Actions
Wait 5.00 seconds
Hero - Instantly revive (Triggering unit) at (Random point in Tele_2 <gen>) , Show revival graphics
Camera - Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 0.50 seconds
Else - Actions
Wait 5.00 seconds
Hero - Instantly revive (Triggering unit) at (Random point in Tele_3 <gen>) , Show revival graphics
Camera - Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 0.50 seconds
Selection
Events
Unit - A unit enters Hero <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Random Equal to 3
Then - Actions
Unit - Move (Triggering unit) instantly to (Random point in Tele_1 <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 0.50 seconds
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Random Equal to 2
Then - Actions
Unit - Move (Triggering unit) instantly to (Random point in Tele_2 <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 0.50 seconds
Else - Actions
Unit - Move (Triggering unit) instantly to (Random point in Tele_3 <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 0.50 seconds
Hero - Create Circlet of Nobility and give it to (Triggering unit)
Hero - Create Potion of Healing and give it to (Triggering unit)
Leave
Events
Player - Player 1 (Red) leaves the game
Player - Player 2 (Blue) leaves the game
Player - Player 3 (Teal) leaves the game
Player - Player 4 (Purple) leaves the game
Player - Player 5 (Yellow) leaves the game
Player - Player 6 (Orange) leaves the game
Player - Player 7 (Green) leaves the game
Player - Player 8 (Pink) leaves the game
Player - Player 9 (Gray) leaves the game
Player - Player 10 (Light Blue) leaves the game
Player - Player 11 (Dark Green) leaves the game
Player - Player 12 (Brown) leaves the game
Conditions
Actions
Quest - Display to (All players) the Hint message: ((Name of (Triggering player)) + has left the Game.)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Actions)
Loop - Actions
Unit - Hide (Picked unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player 1 (Red) slot status) Not equal to Is playing) and ((Player 2 (Blue) slot status) Not equal to Is playing)
Then - Actions
Leaderboard - Remove Player 1 (Red) from (Last created leaderboard) .
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player 3 (Teal) slot status) Not equal to Is playing) and ((Player 4 (Purple) slot status) Not equal to Is playing)
Then - Actions
Leaderboard - Remove Player 3 (Teal) from (Last created leaderboard) .
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player 5 (Yellow) slot status) Not equal to Is playing) and ((Player 6 (Orange) slot status) Not equal to Is playing)
Then - Actions
Leaderboard - Remove Player 5 (Yellow) from (Last created leaderboard) .
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player 7 (Green) slot status) Not equal to Is playing) and ((Player 8 (Pink) slot status) Not equal to Is playing)
Then - Actions
Leaderboard - Remove Player 7 (Green) from (Last created leaderboard) .
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player 9 (Gray) slot status) Not equal to Is playing) and ((Player 10 (Light Blue) slot status) Not equal to Is playing)
Then - Actions
Leaderboard - Remove Player 9 (Gray) from (Last created leaderboard) .
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player 11 (Dark Green) slot status) Not equal to Is playing) and ((Player 12 (Brown) slot status) Not equal to Is playing)
Then - Actions
Leaderboard - Remove Player 11 (Dark Green) from (Last created leaderboard) .
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.