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
RandomWarsSwamp 0.3Eng.w3x
Variables
Инициализация
BANList
WinSTOP
Win
Start
Initialization
Initialization 2
Spell Abomantion
Spell Destroy
Spell Soul
Spell Box
Assasin
Respawn
Table
Введите ниже нестандартный код для указанной карты. Этот текст будет включен в код карты после объявления переменных и до кода любого триггера.
Name
Type
is_array
initial_value
Text
texttag
Yes
TextNumber
integer
No
XP
integer
No
BANList
Events
Time - Elapsed game time is 3.00 seconds
Conditions
Actions
Wait 2 seconds
If ((Name of Player 1 (Red)) Equal to PycTFTPyc) then do (Display to (All players) the text: |cffff0000Вы находитесь в Бан-листекарты.) else do (Do nothing)
If ((Name of Player 2 (Blue)) Equal to PycTFTPyc) then do (Display to (All players) the text: |cffff0000Вы находитесь в Бан-листекарты.) else do (Do nothing)
If ((Name of Player 3 (Teal)) Equal to PycTFTPyc) then do (Display to (All players) the text: |cffff0000Вы находитесь в Бан-листекарты.) else do (Do nothing)
If ((Name of Player 4 (Purple)) Equal to PycTFTPyc) then do (Display to (All players) the text: |cffff0000Вы находитесь в Бан-листекарты.) else do (Do nothing)
If ((Name of Player 5 (Yellow)) Equal to PycTFTPyc) then do (Display to (All players) the text: |cffff0000Вы находитесь в Бан-листекарты.) else do (Do nothing)
WinSTOP
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Entire map)) and do (Actions)
Loop - Actions
Unit - Pause (Picked unit)
Win
Events
Player - Player 1 (Red) 's Current lumber becomes Greater than or equal to 40.00
Player - Player 2 (Blue) 's Current lumber becomes Greater than or equal to 40.00
Player - Player 3 (Teal) 's Current lumber becomes Greater than or equal to 40.00
Player - Player 4 (Purple) 's Current lumber becomes Greater than or equal to 40.00
Player - Player 5 (Yellow) 's Current lumber becomes Greater than or equal to 40.00
Conditions
Actions
Trigger - Turn on WinSTOP <gen>
Sound - Play HeroicVictory <gen>
Game - Display to (All players) the text: By PhantoMasteR (|cFFFFFF0014.08.10|r).|cffff0000MapCreators.clan.su|r
If ((Triggering player) Equal to Player 1 (Red)) then do (Display to (All players) the text: ((|cffff0000 + (Name of Player 1 (Red))) + |r win! The game ends after 30 seconds.)) else do (Do nothing)
If ((Triggering player) Equal to Player 2 (Blue)) then do (Display to (All players) the text: ((|cFF0000FF + (Name of Player 2 (Blue))) + |r win! The game ends after 30 seconds.)) else do (Do nothing)
If ((Triggering player) Equal to Player 3 (Teal)) then do (Display to (All players) the text: ((|cFF00FFFF + (Name of Player 3 (Teal))) + |r win! The game ends after 30 seconds.)) else do (Do nothing)
If ((Triggering player) Equal to Player 4 (Purple)) then do (Display to (All players) the text: ((|cFF7600CD + (Name of Player 4 (Purple))) + |r win! The game ends after 30 seconds.)) else do (Do nothing)
If ((Triggering player) Equal to Player 5 (Yellow)) then do (Display to (All players) the text: ((|cFFFFFF00 + (Name of Player 5 (Yellow))) + |r win! The game ends after 30 seconds.)) else do (Do nothing)
Unit Group - Pick every unit in (Units in (Entire map)) and do (Actions)
Loop - Actions
Unit - Pause (Picked unit)
Wait 30.00 seconds
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Skip scores)
Start
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 1 (Red) slot status) Equal to Is playing
Then - Actions
Unit - Create 1 . (Random level 10 creep unit-type) for Player 1 (Red) at (Center of _______________001 <gen>) facing Default building facing degrees
Camera - Pan camera for Player 1 (Red) to (Center of _______________001 <gen>) over 1.00 seconds
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 2 (Blue) slot status) Equal to Is playing
Then - Actions
Unit - Create 1 . (Random level 10 creep unit-type) for Player 2 (Blue) at (Center of _______________000 <gen>) facing Default building facing degrees
Camera - Pan camera for Player 2 (Blue) to (Center of _______________000 <gen>) over 1.00 seconds
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
Then - Actions
Unit - Create 1 . (Random level 10 creep unit-type) for Player 3 (Teal) at (Center of _______________003 <gen>) facing Default building facing degrees
Camera - Pan camera for Player 3 (Teal) to (Center of _______________003 <gen>) over 1.00 seconds
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 4 (Purple) slot status) Equal to Is playing
Then - Actions
Unit - Create 1 . (Random level 10 creep unit-type) for Player 4 (Purple) at (Center of _______________002 <gen>) facing Default building facing degrees
Camera - Pan camera for Player 4 (Purple) to (Center of _______________002 <gen>) over 1.00 seconds
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
Then - Actions
Unit - Create 1 . (Random level 10 creep unit-type) for Player 5 (Yellow) at (Center of _______________004 <gen>) facing Default building facing degrees
Camera - Pan camera for Player 5 (Yellow) to (Center of _______________004 <gen>) over 1.00 seconds
Else - Actions
Do nothing
Инициализация стандартного режима сражения для всех игроков
Initialization
Events
Map initialization
Conditions
Actions
Game - Display to (All players) the text: |cFF85AD27Random Waps Swamp v0.3|r|cFF00FF00By PhantoMasteR. |cffff0000MapCreators.clan.su|rYour task is to make the first 40 murders, if you die, you are given a random monster. Currently only 28 kinds of monsters. Good luck!
Visibility - Disable fog of war
Visibility - Disable black mask
Game - Set the time of day to 0.00
Game - Set time of day speed to 0.00 % of the default speed
Wait 0.10 seconds
Sound - Stop music After fading
Sound - Stop the currently playing music theme
Initialization 2
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Cinematic - Apply a filter over 2 seconds using Normal blending on texture Black Mask , starting with color ( 100 %, 100 %, 100 %) and 0.00 % transparency and ending with color ( 0 %, 0 %, 0 %) and 100.00 % transparency
Spell Abomantion
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Кусок мяса (250, 3сек.)
Actions
Wait 0.30 seconds
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - 100.00)
Special Effect - Create a special effect at (Position of (Triggering unit)) using Units\Undead\Abomination\AbominationExplosion.mdl
Spell Destroy
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Psychotic demolition
Actions
Special Effect - Create a special effect at (Position of (Dying unit)) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
Wait 0.01 seconds
Special Effect - Destroy (Last created special effect)
Set Variable Set TextNumber = (Random integer number between 1 and 3)
Floating Text - Create floating text that reads BoOm!! at (Position of (Dying unit)) with Z offset 150.00 , using font size 9.00 , color ( 100.00 %, 0.00 %, 0.00 %), and 0 % transparency
Floating Text - Set the velocity of (Last created floating text) to 64 towards (Random real number between 70.00 and 110.00) degrees
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
Floating Text - Change the fading age of (Last created floating text) to 0.00 seconds
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Camera - Shake the camera for (Picked player) with magnitude 10.00
Wait 0.70 seconds
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Camera - Stop swaying/shaking the camera for (Picked player) .
Spell Soul
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Украсть душу
Actions
Special Effect - Create a special effect at (Position of (Triggering unit)) using Objects\Spawnmodels\Undead\UndeadDissipate\UndeadDissipate.mdl
Sound - Play FlashBack1Second <gen>
Wait 0.50 seconds
Unit - Kill (Triggering unit)
Spell Box
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to A box with a surprise
Actions
Unit - Create 1 . Turtle for (Owner of (Dying unit)) at (Position of (Dying unit)) facing (Facing of (Dying unit)) degrees
Assasin
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Assasin) and do (Actions)
Loop - Actions
Animation - Change (Picked unit) 's vertex coloring to ( 100 %, 100 %, 100 %) with 90.00 % transparency
Respawn
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Not equal to A box with a surprise
Actions
Player - Add 1 to (Owner of (Killing unit)) . Current lumber
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 1 (Red)
(Player 1 (Red) slot status) Equal to Is playing
Then - Actions
Wait 4.00 seconds
Unit - Create 1 . (Random level 10 creep unit-type) for Player 1 (Red) at (Center of _______________001 <gen>) facing Default building facing degrees
Camera - Pan camera for Player 1 (Red) to (Position of (Last created unit)) over 1.00 seconds
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 2 (Blue)
(Player 2 (Blue) slot status) Equal to Is playing
Then - Actions
Wait 4.00 seconds
Unit - Create 1 . (Random level 10 creep unit-type) for Player 2 (Blue) at (Center of _______________000 <gen>) facing Default building facing degrees
Camera - Pan camera for Player 2 (Blue) to (Position of (Last created unit)) over 1.00 seconds
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 3 (Teal)
(Player 3 (Teal) slot status) Equal to Is playing
Then - Actions
Wait 4.00 seconds
Unit - Create 1 . (Random level 10 creep unit-type) for Player 3 (Teal) at (Center of _______________003 <gen>) facing Default building facing degrees
Camera - Pan camera for Player 3 (Teal) to (Position of (Last created unit)) over 1.00 seconds
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 4 (Purple)
(Player 4 (Purple) slot status) Equal to Is playing
Then - Actions
Wait 4.00 seconds
Unit - Create 1 . (Random level 10 creep unit-type) for Player 4 (Purple) at (Center of _______________002 <gen>) facing Default building facing degrees
Camera - Pan camera for Player 4 (Purple) to (Position of (Last created unit)) over 1.00 seconds
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 5 (Yellow)
(Player 5 (Yellow) slot status) Equal to Is playing
Then - Actions
Wait 4.00 seconds
Unit - Create 1 . (Random level 10 creep unit-type) for Player 5 (Yellow) at (Center of _______________004 <gen>) facing Default building facing degrees
Camera - Pan camera for Player 5 (Yellow) to (Position of (Last created unit)) over 1.00 seconds
Else - Actions
Do nothing
Table
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Score
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 1 (Red) slot status) Equal to Is playing
Then - Actions
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label (Name of Player 1 (Red)) and value (Player 1 (Red) Current lumber)
Else - Actions
Leaderboard - Remove Player 1 (Red) from (Last created leaderboard) .
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 2 (Blue) slot status) Equal to Is playing
Then - Actions
Leaderboard - Add Player 2 (Blue) to (Last created leaderboard) with label (Name of Player 2 (Blue)) and value (Player 2 (Blue) Current lumber)
Else - Actions
Leaderboard - Remove Player 2 (Blue) from (Last created leaderboard) .
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 3 (Teal) slot status) Equal to Is playing
Then - Actions
Leaderboard - Add Player 3 (Teal) to (Last created leaderboard) with label (Name of Player 3 (Teal)) and value (Player 3 (Teal) Current lumber)
Else - Actions
Leaderboard - Remove Player 3 (Teal) from (Last created leaderboard) .
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 4 (Purple) slot status) Equal to Is playing
Then - Actions
Leaderboard - Add Player 4 (Purple) to (Last created leaderboard) with label (Name of Player 4 (Purple)) and value (Player 4 (Purple) Current lumber)
Else - Actions
Leaderboard - Remove Player 4 (Purple) from (Last created leaderboard) .
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 5 (Yellow) slot status) Equal to Is playing
Then - Actions
Leaderboard - Add Player 5 (Yellow) to (Last created leaderboard) with label (Name of Player 5 (Yellow)) and value (Player 5 (Yellow) Current lumber)
Else - Actions
Leaderboard - Remove Player 5 (Yellow) 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.