🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
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
Sonim hero line wars.w3x
Variables
Income
Melee Initialization
income
perodic
perodic Copy
Text income
Text income 2
Msgs
Untitled Trigger 008
Sends
Untitled Trigger 001
Untitled Trigger 001 Copy
Untitled Trigger 003 Copy
Untitled Trigger 003 Copy Copy 2
Dialog
player 1
Death knight
Sylvanas Windrunner
Jiana
Lich king
player 2
Death knight 2
Sylvanas Windrunner 2
Jiana 2
Lich king 2
Death
Untitled Trigger 002
Untitled Trigger 002 Copy
FArm
Untitled Trigger 003
Untitled Trigger 003 Copy 2
Untitled Trigger 003 Copy 2 Copy
Untitled Trigger 003 Copy 2 Copy Copy
Untitled Trigger 004
Watcher
Untitled Trigger 005
;P
Untitled Trigger 006
Untitled Trigger 006 Copy
Units
Untitled Trigger 007
Untitled Trigger 007 Copy
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
button
button
Yes
Dialoxbox
dialog
No
Hero
group
No
Default melee game initialization for all players
Melee Initialization
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Countdown Timer - Create a timer window for (Last started timer) with title Next income in
Countdown Timer - Start (Last started timer) as a Repeating timer that will expire in 20.00 seconds
Dialog - Clear Dialoxbox
Dialog - Change the title of Dialoxbox to Hero chooser
Dialog - Create a dialog button for Dialoxbox labelled Death knight
Set Variable Set button[1] = (Last created dialog Button)
Dialog - Create a dialog button for Dialoxbox labelled Sylvanas Windrunner
Set Variable Set button[2] = (Last created dialog Button)
Dialog - Create a dialog button for Dialoxbox labelled Jiana
Set Variable Set button[3] = (Last created dialog Button)
Dialog - Create a dialog button for Dialoxbox labelled Lich king
Set Variable Set button[4] = (Last created dialog Button)
Dialog - Show Dialoxbox for Player 1 (Red)
Dialog - Show Dialoxbox for Player 2 (Blue)
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 3 (Teal) emitting Visibility across (Playable map area)
Player - Add 20 to Player 1 (Red) . Current lumber
Player - Add 20 to Player 2 (Blue) . Current lumber
Hero - Make Player 1 (Red) Heroes gain 250.00 % experience from future kills
Hero - Make Player 2 (Blue) Heroes gain 250.00 % experience from future kills
income
Events
Unit - A unit Sells a unit
Conditions
Actions
Player - Add (Point-value of (Sold unit)) to (Owner of (Selling unit)) . Current lumber
perodic
Events
Time - Every 20.00 seconds of game time
Conditions
Actions
Player - Add (Player 1 (Red) Current lumber) to Player 1 (Red) . Current gold
Game - Display to Player Group - Player 1 (Red) the text: (Your income is |CFFFFFF01 + (String((Player 1 (Red) Current lumber))))
perodic Copy
Events
Time - Every 20.00 seconds of game time
Conditions
Actions
Player - Add (Player 2 (Blue) Current lumber) to Player 2 (Blue) . Current gold
Game - Display to Player Group - Player 2 (Blue) the text: (Your income is |CFFFFFF01 + (String((Player 2 (Blue) Current lumber))))
Text income
Events
Player - Player 1 (Red) types a chat message containing -income (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Display to (All players) the text: (|CFF0042FF + ((Name of Player 2 (Blue)) + ('s |r Income is |CFF540081 + (String((Player 2 (Blue) Current lumber))))))
Text income 2
Events
Player - Player 2 (Blue) types a chat message containing -income (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Display to (All players) the text: (|CFF0042FF + ((Name of Player 1 (Red)) + ('s |r Income is |CFF540081 + (String((Player 1 (Red) Current lumber))))))
Untitled Trigger 008
Events
Time - Elapsed game time is 20.00 seconds
Conditions
Actions
Game - Display to Player Group - Player 1 (Red) the text: (You can see + ( |CFF0042FF + ((Name of Player 2 (Blue)) + ('s |r Income by typing |CFF540081 -income + ))))
Game - Display to Player Group - Player 2 (Blue) the text: (You can see + ( |CFF0042FF + ((Name of Player 1 (Red)) + ('s |r Income by typing |CFF540081 -income + ))))
Untitled Trigger 001
Events
Unit - A unit enters Region_000 <gen>
Conditions
(Unit-type of (Entering unit)) Not equal to Mega Farm
(Unit-type of (Entering unit)) Not equal to Farm Deluxe
Actions
Unit - Move (Entering unit) instantly to (Center of Region_007 <gen>)
Unit - Change ownership of (Entering unit) to Neutral Hostile and Retain color
Untitled Trigger 001 Copy
Events
Unit - A unit enters Region_001 <gen>
Conditions
(Unit-type of (Entering unit)) Not equal to Mega Farm
(Unit-type of (Entering unit)) Not equal to Farm Deluxe
Actions
Unit - Move (Entering unit) instantly to (Center of Region_003 <gen>)
Unit - Change ownership of (Entering unit) to Neutral Hostile and Retain color
Untitled Trigger 003 Copy
Events
Unit - Farm 0001 <gen> Finishes an upgrade
Conditions
Actions
Player - Add 200 to Player 1 (Red) . Current lumber
Unit - Replace Farm 0001 <gen> with a Mega Farm using The old unit's relative life and mana
Untitled Trigger 003 Copy Copy 2
Events
Unit - Farm 0000 <gen> Finishes an upgrade
Conditions
Actions
Player - Add 200 to Player 2 (Blue) . Current lumber
Unit - Replace Farm 0000 <gen> with a Mega Farm using The old unit's relative life and mana
Death knight
Events
Dialog - A dialog button is clicked for Dialoxbox
Conditions
(Triggering player) Equal to Player 1 (Red)
(Clicked dialog button) Equal to button[1]
Actions
Unit - Remove Archmage 0016 <gen> from the game
Unit - Remove Lich 0014 <gen> from the game
Unit - Remove Ranger 0015 <gen> from the game
Sylvanas Windrunner
Events
Dialog - A dialog button is clicked for Dialoxbox
Conditions
(Clicked dialog button) Equal to button[2]
(Triggering player) Equal to Player 1 (Red)
Actions
Unit - Remove Archmage 0016 <gen> from the game
Unit - Remove Lich 0014 <gen> from the game
Unit - Remove Death Knight 0013 <gen> from the game
Jiana
Events
Dialog - A dialog button is clicked for Dialoxbox
Conditions
(Clicked dialog button) Equal to button[3]
(Triggering player) Equal to Player 1 (Red)
Actions
Unit - Remove Death Knight 0013 <gen> from the game
Unit - Remove Lich 0014 <gen> from the game
Unit - Remove Ranger 0015 <gen> from the game
Lich king
Events
Dialog - A dialog button is clicked for Dialoxbox
Conditions
(Clicked dialog button) Equal to button[4]
(Triggering player) Equal to Player 1 (Red)
Actions
Unit - Remove Archmage 0016 <gen> from the game
Unit - Remove Death Knight 0013 <gen> from the game
Unit - Remove Ranger 0015 <gen> from the game
Death knight 2
Events
Dialog - A dialog button is clicked for Dialoxbox
Conditions
(Clicked dialog button) Equal to button[1]
(Triggering player) Equal to Player 2 (Blue)
Actions
Unit - Remove Archmage 0018 <gen> from the game
Unit - Remove Lich 0020 <gen> from the game
Unit - Remove Ranger 0017 <gen> from the game
Sylvanas Windrunner 2
Events
Dialog - A dialog button is clicked for Dialoxbox
Conditions
(Clicked dialog button) Equal to button[2]
(Triggering player) Equal to Player 2 (Blue)
Actions
Unit - Remove Archmage 0018 <gen> from the game
Unit - Remove Lich 0020 <gen> from the game
Unit - Remove Death Knight 0019 <gen> from the game
Jiana 2
Events
Dialog - A dialog button is clicked for Dialoxbox
Conditions
(Clicked dialog button) Equal to button[3]
(Triggering player) Equal to Player 2 (Blue)
Actions
Unit - Remove Death Knight 0019 <gen> from the game
Unit - Remove Lich 0020 <gen> from the game
Unit - Remove Ranger 0017 <gen> from the game
Lich king 2
Events
Dialog - A dialog button is clicked for Dialoxbox
Conditions
(Clicked dialog button) Equal to button[4]
(Triggering player) Equal to Player 2 (Blue)
Actions
Unit - Remove Archmage 0018 <gen> from the game
Unit - Remove Death Knight 0019 <gen> from the game
Unit - Remove Ranger 0017 <gen> from the game
Untitled Trigger 002
Events
Unit - Death Knight 0013 <gen> Dies
Unit - Lich 0014 <gen> Dies
Unit - Ranger 0015 <gen> Dies
Unit - Archmage 0016 <gen> Dies
Conditions
Actions
Unit - Explode Farm 0001 <gen> .
Game - Display to (All players) the text: ((Name of (Triggering player)) + (|CFFFE8A0E got killed by a |cff7777aa + ((Name of (Killing unit)) + |CFFFE8A0E and lost the game.)))
Wait 10.00 seconds
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Game - Defeat Player 1 (Red) with the message: You Lose
Unit - Explode Farm 0000 <gen> .
Untitled Trigger 002 Copy
Events
Unit - Ranger 0017 <gen> Dies
Unit - Archmage 0018 <gen> Dies
Unit - Death Knight 0019 <gen> Dies
Unit - Lich 0020 <gen> Dies
Conditions
Actions
Unit - Explode Farm 0000 <gen> .
Game - Display to (All players) the text: ((Name of (Triggering player)) + (|CFFFE8A0E got killed by a |cff7777aa + ((Name of (Killing unit)) + |CFFFE8A0E and lost the game.)))
Wait 10.00 seconds
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Defeat Player 2 (Blue) with the message: You Lose
Unit - Explode Farm 0001 <gen> .
Untitled Trigger 003
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Upgrade to Farm Deluxe
(Player 1 (Red) Current gold) Greater than or equal to 7000
(Owner of (Casting unit)) Equal to Player 1 (Red)
Actions
Player - Add -7000 to Player 1 (Red) . Current gold
Unit - Create 1 . Farm Deluxe for Player 1 (Red) at (Center of Region_008 <gen>) facing Default building facing degrees
Unit - Remove Upgrade to Farm Deluxe from (Casting unit)
Untitled Trigger 003 Copy 2
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Upgrade to Farm Deluxe
(Player 2 (Blue) Current gold) Greater than or equal to 7000
(Owner of (Casting unit)) Equal to Player 2 (Blue)
Actions
Player - Add -7000 to Player 2 (Blue) . Current gold
Unit - Create 1 . Farm Deluxe for Player 2 (Blue) at (Center of Region_009 <gen>) facing Default building facing degrees
Unit - Remove Upgrade to Farm Deluxe from (Casting unit)
Untitled Trigger 003 Copy 2 Copy
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Upgrade to Farm Deluxe
(Player 2 (Blue) Current gold) Less than 7000
(Owner of (Casting unit)) Equal to Player 2 (Blue)
Actions
Game - Display to Player Group - Player 2 (Blue) the text: You need 7000 to upgrade this.
Untitled Trigger 003 Copy 2 Copy Copy
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Upgrade to Farm Deluxe
(Player 1 (Red) Current gold) Less than 7000
(Owner of (Casting unit)) Equal to Player 1 (Red)
Actions
Game - Display to Player Group - Player 1 (Red) the text: You need 7000 to upgrade this.
Untitled Trigger 004
Events
Unit - A unit enters Region_001 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Tauren
Actions
Hero - Create Ankh of Reincarnation and give it to (Entering unit)
Untitled Trigger 005
Events
Time - Every 0.50 seconds of game time
Conditions
Actions
Player - Set Player 3 (Teal) . Current gold to (Player 1 (Red) Current lumber)
Player - Set Player 3 (Teal) . Current lumber to (Player 2 (Blue) Current lumber)
Untitled Trigger 006
Events
Player - Player 1 (Red) types a chat message containing Swe (Unexpected type: 'stringnoformat') as An exact match
Conditions
(Name of (Triggering player)) Equal to Thats_mine
Actions
Player - Add 1000 to Player 1 (Red) . Current gold
Untitled Trigger 006 Copy
Events
Player - Player 2 (Blue) types a chat message containing Swe (Unexpected type: 'stringnoformat') as An exact match
Conditions
(Name of (Triggering player)) Equal to Thats_mine
Actions
Player - Add 1000 to Player 2 (Blue) . Current gold
Untitled Trigger 007
Events
Unit - A unit enters Region_007 <gen>
Conditions
(Owner of (Entering unit)) Not equal to Player 2 (Blue)
Actions
Unit - Order (Entering unit) to Attack . (Random unit from (Units in Region_007 <gen> owned by Player 2 (Blue)))
Untitled Trigger 007 Copy
Events
Unit - A unit enters Region_006 <gen>
Conditions
(Owner of (Entering unit)) Not equal to Player 1 (Red)
Actions
Unit - Order (Entering unit) to Attack . (Random unit from (Units in Region_006 <gen> owned by Player 1 (Red)))
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.