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
Uruk-Hai vs High Elf.w3x
Variables
Inizializzazione
Inizializzazione
Oro
Razza
Razza
Elfi
Uruk Hai
Creazione Unità
Creazione Elfi Lancieri
Creazione Elfi Spadaccini
Creazione Elfi Arcieri
Creazione Elfi Cavalieri
Creazione Ent
Ricerca Potenzia Elfi
Creaziome Uruk Hai Lancieri
Creaziome Uruk Hai Spadaccini
Creaziome Uruk Hai Arcieri
Creaziome Orco Cavalieri
Creazione Troll
Ricerca Potenzia Uruk Hai
Computer
Computer Disattivato
Computer Uruk Hai 1
Computer Uruk Hai 2
Computer Uruk Hai 3
Computer Uruk Hai 4
Computer Uruk Hai 5
Computer Uruk Hai Ricerca
Computer Elfi 1
Computer Elfi 2
Computer Elfi 3
Computer Elfi 4
Computer Elfi 5
Computer Elfi Ricerca
Ent 1
Ent 2
Troll 1
Troll 2
Percoroso Elfi 1
Percoroso Elfi 2
Percoroso Uruk Hai 1
Percoroso Uruk Hai 2
Missioni
Gran Burrone Distrutta
Torre di Orthanc Distrutta
Inserisci il codice dello script personalizzato per la mappa nello spazio sottostante. Il testo verrà incluso nello script della mappa dopo che le variabili sono state dichiarate e prima di qualsiasi codice trigger.
Name
Type
is_array
initial_value
DialogoRazza
dialog
No
MissioneElfi
quest
No
MissioneUrukHai
quest
No
PulsanteDialogoElfi
button
No
PulsanteDialogoUrukHai
button
No
Inizializzazione predefinita della partita Assalto per tutti i giocatori
Inizializzazione
Events
Map initialization
Conditions
Actions
Unit - Change color of Ent 0006 <gen> to Green
Unit - Change color of Ent 0024 <gen> to Green
Unit - Change color of Troll 0025 <gen> to Gray
Unit - Change color of Troll 0026 <gen> to Gray
Unit - Move Troll 0026 <gen> instantly to (Center of Troll_1 <gen>)
Unit - Move Troll 0025 <gen> instantly to (Center of Troll_2 <gen>)
Unit - Move Ent 0006 <gen> instantly to (Center of Ent_1 <gen>)
Unit - Move Ent 0024 <gen> instantly to (Center of Ent_2 <gen>)
Player - Set Player 1 (Red) . Current gold to 100
Player - Set Player 2 (Blue) . Current gold to 100
Player - Set Player 3 (Teal) . Current gold to 100
Player - Set name of Player 2 (Blue) to Uruk-Hai
Player - Set name of Player 3 (Teal) to Elfi
Player - Change color of Player 2 (Blue) to Brown , Changing color of existing units
Player - Change color of Player 3 (Teal) to Yellow , Changing color of existing units
Unit Group - Pick every unit in (Units owned by Neutral Passive.) and do (Change (Picked unit)'s animation speed to 3444.00% of its original speed)
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Playable map area)
Unit - Change color of Orthanc Tower 0001 <gen> to Brown
Unit - Change color of Rivendell 0002 <gen> to Yellow
Unit Group - Pick every unit in (Units owned by Neutral Passive of type Elfo Lanciere (Morto)) and do (Change color of (Picked unit) to Yellow)
Unit Group - Pick every unit in (Units owned by Neutral Passive of type Elfo Spadaccino (Morto)) and do (Change color of (Picked unit) to Yellow)
Unit Group - Pick every unit in (Units owned by Neutral Passive of type Elfo Arciere (Morto)) and do (Change color of (Picked unit) to Yellow)
Unit Group - Pick every unit in (Units owned by Neutral Passive of type Uruk-Hai Lanciere (Morto)) and do (Change color of (Picked unit) to Brown)
Unit Group - Pick every unit in (Units owned by Neutral Passive of type Uruk-Hai Spadaccino (Morto)) and do (Change color of (Picked unit) to Brown)
Unit Group - Pick every unit in (Units owned by Neutral Passive of type Uruk-Hai Arciere (Morto)) and do (Change color of (Picked unit) to Brown)
Unit Group - Pick every unit in (Units owned by Neutral Passive.) and do (Play (Picked unit)'s death animation)
Wait 0.01 seconds
Unit Group - Pick every unit in (Units owned by Neutral Passive.) and do (Change (Picked unit)'s animation speed to 0.00% of its original speed)
Unit Group - Pick every unit in (Units owned by Neutral Passive.) and do (Pause (Picked unit))
Oro
Events
Time - Every 0.50 seconds of game time
Conditions
Actions
Player - Add 1 to Player 1 (Red) . Current gold
Player - Add 1 to Player 2 (Blue) . Current gold
Player - Add 1 to Player 3 (Teal) . Current gold
Razza
Events
Map initialization
Conditions
Actions
Wait 0.10 seconds
Dialog - Clear DialogoRazza
Dialog - Change the title of DialogoRazza to Razza
Dialog - Create a dialog button for DialogoRazza labelled Elfi
Set Variable Set PulsanteDialogoElfi = (Last created dialog Button)
Dialog - Create a dialog button for DialogoRazza labelled Uruk-Hai
Set Variable Set PulsanteDialogoUrukHai = (Last created dialog Button)
Dialog - Show DialogoRazza for Player 1 (Red)
Elfi
Events
Dialog - A dialog button is clicked for DialogoRazza
Conditions
(Clicked dialog button) Equal to PulsanteDialogoElfi
Actions
Dialog - Hide DialogoRazza for Player 1 (Red)
Camera - . Apply . gg_cam_Granburrone for Player 1 (Red) over 0 seconds
Player - Change color of Player 1 (Red) to Yellow , Changing color of existing units
Player - Change color of Player 3 (Teal) to Yellow , Changing color of existing units
Unit - Change ownership of Orthanc Tower 0001 <gen> to Player 2 (Blue) and Change color
Unit - Change ownership of Ent 0006 <gen> to Player 3 (Teal) and Retain color
Unit - Change ownership of Ent 0024 <gen> to Player 3 (Teal) and Retain color
Unit - Change ownership of Troll 0025 <gen> to Player 2 (Blue) and Retain color
Unit - Change ownership of Troll 0026 <gen> to Player 2 (Blue) and Retain color
Player - Make Player 1 (Red) treat Player 3 (Teal) as an Ally with shared vision
Player - Make Player 3 (Teal) treat Player 1 (Red) as an Ally with shared vision
Trigger - Turn on Computer_Uruk_Hai_1 <gen>
Trigger - Turn on Computer_Uruk_Hai_2 <gen>
Trigger - Turn on Computer_Uruk_Hai_3 <gen>
Trigger - Turn on Computer_Uruk_Hai_4 <gen>
Trigger - Turn on Computer_Uruk_Hai_5 <gen>
Trigger - Turn on Computer_Uruk_Hai_Ricerca <gen>
Quest - Create a Required quest titled Defeat the Uruk-Hai with the description To defeat the Uruk-Hai you have to destroy the Tower of Orthanc. , using icon path ReplaceableTextures\CommandButtons\BTNMagGrunt.blp
Set Variable Set MissioneElfi = (Last created quest)
Uruk Hai
Events
Dialog - A dialog button is clicked for DialogoRazza
Conditions
(Clicked dialog button) Equal to PulsanteDialogoUrukHai
Actions
Dialog - Hide DialogoRazza for Player 1 (Red)
Camera - . Apply . gg_cam_Orthanc for Player 1 (Red) over 0 seconds
Player - Change color of Player 1 (Red) to Brown , Changing color of existing units
Player - Change color of Player 2 (Blue) to Brown , Changing color of existing units
Unit - Change ownership of Rivendell 0002 <gen> to Player 3 (Teal) and Change color
Unit - Change ownership of Ent 0006 <gen> to Player 3 (Teal) and Retain color
Unit - Change ownership of Ent 0024 <gen> to Player 3 (Teal) and Retain color
Unit - Change ownership of Troll 0025 <gen> to Player 2 (Blue) and Retain color
Unit - Change ownership of Troll 0026 <gen> to Player 2 (Blue) and Retain color
Player - Make Player 1 (Red) treat Player 2 (Blue) as an Ally with shared vision
Player - Make Player 2 (Blue) treat Player 1 (Red) as an Ally with shared vision
Trigger - Turn on Computer_Elfi_1 <gen>
Trigger - Turn on Computer_Elfi_2 <gen>
Trigger - Turn on Computer_Elfi_3 <gen>
Trigger - Turn on Computer_Elfi_4 <gen>
Trigger - Turn on Computer_Elfi_5 <gen>
Trigger - Turn on Computer_Elfi_Ricerca <gen>
Quest - Create a Required quest titled Defeat the Elves with the description To defeat the Elves have to destroy Rivendell. , using icon path ReplaceableTextures\CommandButtons\BTNTheCaptain.blp
Set Variable Set MissioneUrukHai = (Last created quest)
Creazione Elfi Lancieri
Events
Unit - A unit Finishes training a unit
Conditions
(Trained unit-type) Equal to Elf Spearman
Actions
Unit - Move (Trained unit) instantly to (Center of Crea_Elfi <gen>)
Unit - Make (Trained unit) face 180.00 over 0 seconds
Unit - Change color of (Trained unit) to Yellow
Unit - Change ownership of (Trained unit) to Player 3 (Teal) and Retain color
Unit - Order (Trained unit) to Attack-Move To . (Position of Orthanc Tower 0001 <gen>)
Creazione Elfi Spadaccini
Events
Unit - A unit Finishes training a unit
Conditions
(Trained unit-type) Equal to Elf Swordman
Actions
Unit - Move (Trained unit) instantly to (Center of Crea_Elfi <gen>)
Unit - Make (Trained unit) face 180.00 over 0 seconds
Unit - Change color of (Trained unit) to Yellow
Unit - Change ownership of (Trained unit) to Player 3 (Teal) and Retain color
Unit - Order (Trained unit) to Attack-Move To . (Position of Orthanc Tower 0001 <gen>)
Creazione Elfi Arcieri
Events
Unit - A unit Finishes training a unit
Conditions
(Trained unit-type) Equal to Elf Archer
Actions
Unit - Move (Trained unit) instantly to (Center of Crea_Elfi <gen>)
Unit - Make (Trained unit) face 180.00 over 0 seconds
Unit - Change color of (Trained unit) to Yellow
Unit - Change ownership of (Trained unit) to Player 3 (Teal) and Retain color
Unit - Order (Trained unit) to Attack-Move To . (Position of Orthanc Tower 0001 <gen>)
Creazione Elfi Cavalieri
Events
Unit - A unit Finishes training a unit
Conditions
(Trained unit-type) Equal to Elf Knight
Actions
Unit - Move (Trained unit) instantly to (Center of Crea_Elfi <gen>)
Unit - Make (Trained unit) face 180.00 over 0 seconds
Unit - Change color of (Trained unit) to Yellow
Unit - Change ownership of (Trained unit) to Player 3 (Teal) and Retain color
Unit - Order (Trained unit) to Attack-Move To . (Position of Orthanc Tower 0001 <gen>)
Creazione Ent
Events
Unit - A unit Finishes training a unit
Conditions
(Trained unit-type) Equal to Ent
Actions
Unit - Move (Trained unit) instantly to (Center of Crea_Elfi <gen>)
Unit - Make (Trained unit) face 180.00 over 0 seconds
Unit - Change color of (Trained unit) to Green
Unit - Change ownership of (Trained unit) to Player 3 (Teal) and Retain color
Unit - Order (Trained unit) to Attack-Move To . (Position of Orthanc Tower 0001 <gen>)
Ricerca Potenzia Elfi
Events
Unit - A unit Begins research
Conditions
(Researched tech-type) Equal to R000 (Unexpected type: 'techcode')
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 1 for Player 3 (Teal)
Creaziome Uruk Hai Lancieri
Events
Unit - A unit Finishes training a unit
Conditions
(Trained unit-type) Equal to Uruk-Hai Pikeman
Actions
Unit - Move (Trained unit) instantly to (Center of Crea_Uruk_Hai <gen>)
Unit - Make (Trained unit) face 0.00 over 0 seconds
Unit - Change color of (Trained unit) to Brown
Unit - Change ownership of (Trained unit) to Player 2 (Blue) and Retain color
Unit - Order (Trained unit) to Attack-Move To . (Position of Rivendell 0002 <gen>)
Creaziome Uruk Hai Spadaccini
Events
Unit - A unit Finishes training a unit
Conditions
(Trained unit-type) Equal to Uruk-Hai Swordman
Actions
Unit - Move (Trained unit) instantly to (Center of Crea_Uruk_Hai <gen>)
Unit - Make (Trained unit) face 0.00 over 0 seconds
Unit - Change color of (Trained unit) to Brown
Unit - Change ownership of (Trained unit) to Player 2 (Blue) and Retain color
Unit - Order (Trained unit) to Attack-Move To . (Position of Rivendell 0002 <gen>)
Creaziome Uruk Hai Arcieri
Events
Unit - A unit Finishes training a unit
Conditions
(Trained unit-type) Equal to Uruk-Hai Archer
Actions
Unit - Move (Trained unit) instantly to (Center of Crea_Uruk_Hai <gen>)
Unit - Make (Trained unit) face 0.00 over 0 seconds
Unit - Change color of (Trained unit) to Brown
Unit - Change ownership of (Trained unit) to Player 2 (Blue) and Retain color
Unit - Order (Trained unit) to Attack-Move To . (Position of Rivendell 0002 <gen>)
Creaziome Orco Cavalieri
Events
Unit - A unit Finishes training a unit
Conditions
(Trained unit-type) Equal to Orc Knight
Actions
Unit - Move (Trained unit) instantly to (Center of Crea_Uruk_Hai <gen>)
Unit - Make (Trained unit) face 0.00 over 0 seconds
Unit - Change color of (Trained unit) to Brown
Unit - Change ownership of (Trained unit) to Player 2 (Blue) and Retain color
Unit - Order (Trained unit) to Attack-Move To . (Position of Rivendell 0002 <gen>)
Creazione Troll
Events
Unit - A unit Finishes training a unit
Conditions
(Trained unit-type) Equal to Troll
Actions
Unit - Move (Trained unit) instantly to (Center of Crea_Uruk_Hai <gen>)
Unit - Make (Trained unit) face 0.00 over 0 seconds
Unit - Change color of (Trained unit) to Gray
Unit - Change ownership of (Trained unit) to Player 2 (Blue) and Retain color
Unit - Order (Trained unit) to Attack-Move To . (Position of Rivendell 0002 <gen>)
Ricerca Potenzia Uruk Hai
Events
Unit - A unit Begins research
Conditions
(Researched tech-type) Equal to R001 (Unexpected type: 'techcode')
Actions
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 1 for Player 2 (Blue)
Computer Disattivato
Events
Map initialization
Conditions
Actions
Trigger - Turn off Computer_Uruk_Hai_1 <gen>
Trigger - Turn off Computer_Uruk_Hai_2 <gen>
Trigger - Turn off Computer_Uruk_Hai_3 <gen>
Trigger - Turn off Computer_Uruk_Hai_4 <gen>
Trigger - Turn off Computer_Uruk_Hai_5 <gen>
Trigger - Turn off Computer_Uruk_Hai_Ricerca <gen>
Trigger - Turn off Computer_Elfi_1 <gen>
Trigger - Turn off Computer_Elfi_2 <gen>
Trigger - Turn off Computer_Elfi_3 <gen>
Trigger - Turn off Computer_Elfi_4 <gen>
Trigger - Turn off Computer_Elfi_5 <gen>
Trigger - Turn off Computer_Elfi_Ricerca <gen>
Computer Uruk Hai 1
Events
Time - Every 0.01 seconds of game time
Conditions
(Random integer number between 1 and 5) Equal to 1
Actions
Unit - Order Orthanc Tower 0001 <gen> to train/upgrade to a Uruk-Hai Swordman
Computer Uruk Hai 2
Events
Time - Every 0.01 seconds of game time
Conditions
(Random integer number between 1 and 5) Equal to 2
Actions
Unit - Order Orthanc Tower 0001 <gen> to train/upgrade to a Uruk-Hai Pikeman
Computer Uruk Hai 3
Events
Time - Every 0.01 seconds of game time
Conditions
(Random integer number between 1 and 5) Equal to 3
Actions
Unit - Order Orthanc Tower 0001 <gen> to train/upgrade to a Uruk-Hai Archer
Computer Uruk Hai 4
Events
Time - Every 0.01 seconds of game time
Conditions
(Random integer number between 1 and 5) Equal to 4
Actions
Unit - Order Orthanc Tower 0001 <gen> to train/upgrade to a Troll
Computer Uruk Hai 5
Events
Time - Every 0.01 seconds of game time
Conditions
(Random integer number between 1 and 5) Equal to 5
Actions
Unit - Order Orthanc Tower 0001 <gen> to train/upgrade to a Orc Knight
Computer Uruk Hai Ricerca
Events
Time - Every 0.01 seconds of game time
Conditions
(Random integer number between 1 and 2) Equal to 1
Actions
Unit - Order Orthanc Tower 0001 <gen> to research R001 (Unexpected type: 'techcode')
Computer Elfi 1
Events
Time - Every 0.01 seconds of game time
Conditions
(Random integer number between 1 and 5) Equal to 1
Actions
Unit - Order Rivendell 0002 <gen> to train/upgrade to a Elf Swordman
Computer Elfi 2
Events
Time - Every 0.01 seconds of game time
Conditions
(Random integer number between 1 and 5) Equal to 2
Actions
Unit - Order Rivendell 0002 <gen> to train/upgrade to a Elf Spearman
Computer Elfi 3
Events
Time - Every 0.01 seconds of game time
Conditions
(Random integer number between 1 and 5) Equal to 3
Actions
Unit - Order Rivendell 0002 <gen> to train/upgrade to a Elf Archer
Computer Elfi 4
Events
Time - Every 0.01 seconds of game time
Conditions
(Random integer number between 1 and 5) Equal to 4
Actions
Unit - Order Rivendell 0002 <gen> to train/upgrade to a Ent
Computer Elfi 5
Events
Time - Every 0.01 seconds of game time
Conditions
(Random integer number between 1 and 5) Equal to 5
Actions
Unit - Order Rivendell 0002 <gen> to train/upgrade to a Elf Knight
Computer Elfi Ricerca
Events
Time - Every 0.01 seconds of game time
Conditions
(Random integer number between 1 and 2) Equal to 1
Actions
Unit - Order Rivendell 0002 <gen> to research R000 (Unexpected type: 'techcode')
Ent 1
Events
Unit - A unit enters Ent_1 <gen>
Conditions
(Entering unit) Equal to Ent 0006 <gen>
Actions
Unit - Make Ent 0006 <gen> face 180.00 over 0.50 seconds
Ent 2
Events
Unit - A unit enters Ent_2 <gen>
Conditions
(Entering unit) Equal to Ent 0024 <gen>
Actions
Unit - Make Ent 0024 <gen> face 180.00 over 0.50 seconds
Troll 1
Events
Unit - A unit enters Troll_1 <gen>
Conditions
(Entering unit) Equal to Troll 0026 <gen>
Actions
Unit - Make Troll 0026 <gen> face 0.00 over 0.50 seconds
Troll 2
Events
Unit - A unit enters Troll_2 <gen>
Conditions
(Entering unit) Equal to Troll 0025 <gen>
Actions
Unit - Make Troll 0025 <gen> face 0.00 over 0.50 seconds
Percoroso Elfi 1
Events
Unit - A unit enters Percoroso_Elfi <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 3 (Teal)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Position of Orthanc Tower 0001 <gen>)
Percoroso Elfi 2
Events
Unit - A unit enters Percoroso_Elfi <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Position of Rivendell 0002 <gen>)
Percoroso Uruk Hai 1
Events
Unit - A unit enters Percoroso_Uruk_Hai <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Position of Rivendell 0002 <gen>)
Percoroso Uruk Hai 2
Events
Unit - A unit enters Percoroso_Uruk_Hai <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 3 (Teal)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Position of Orthanc Tower 0001 <gen>)
Gran Burrone Distrutta
Events
Unit - Rivendell 0002 <gen> Dies
Conditions
Actions
Quest - Mark MissioneUrukHai as Completed
Quest - Mark MissioneElfi as Failed
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Game - Defeat Player 3 (Teal) with the message: Sconfitta!
Torre di Orthanc Distrutta
Events
Unit - Orthanc Tower 0001 <gen> Dies
Conditions
Actions
Quest - Mark MissioneElfi as Completed
Quest - Mark MissioneUrukHai as Failed
Game - Victory Player 3 (Teal) ( Show dialogs, Show scores)
Game - Defeat Player 2 (Blue) with the message: Sconfitta!
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.