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
Guerra de razas v3.0.1.w3x
Variables
Victoria y Derrota
Derrota
Victoria
Héroes
Heroe
Inicialización
Inicialización de refriega
Inciar Ordenador
Seleccionar Razas
Creando botones
Seleccionar raza
Escribe debajo el código del guión personalizado especial para el mapa. El texto se incluirá en el guión del mapa después de declarar las variables y antes de los códigos de los detonadores.
Name
Type
is_array
initial_value
BDRazas
button
Yes
Derrota
boolean
No
DRazas
dialog
No
Victoria
boolean
No
Derrota
Events
Unit - A unit Dies
Conditions
Actions
Set Variable Set Derrota = "true"
Player Group - Pick every player in (All allies of (Triggering player).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Count structures controlled by (Picked player) (Exclude incomplete structures)) Greater than 0
Then - Actions
Set Variable Set Derrota = "false"
Else - Actions
Player Group - Pick every player in (All allies of (Triggering player).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Derrota Equal to True
Then - Actions
Game - Defeat (Picked player) with the message: ¡Derrota!
Else - Actions
Victoria
Events
Unit - A unit Dies
Conditions
Actions
For each (Integer A) from 1 to 12 , do (Actions)
Loop - Actions
Set Variable Set Victoria = "true"
Player Group - Pick every player in (All enemies of (Player((Integer A))).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Count structures controlled by (Picked player) (Exclude incomplete structures)) Greater than 0
Then - Actions
Set Variable Set Victoria = "false"
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Victoria Equal to True
Then - Actions
Game - Victory (Player((Integer A))) ( Show dialogs, Show scores)
Else - Actions
Heroe
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Limit training of Campeador to 1 for (Picked player)
Player - Limit training of Maestro Geomante to 1 for (Picked player)
Player - Limit training of Orco Paladin to 1 for (Picked player)
Player - Limit training of Dark Ranger to 1 for (Picked player)
Player - Limit training of Sicario to 1 for (Picked player)
Player - Limit training of Taumaturgo to 1 for (Picked player)
Player - Limit training of Elder Sage to 1 for (Picked player)
Player - Limit training of Sea Witch to 1 for (Picked player)
Inicialización predeterminada de partida de refriega para todos los jugadores
Inicialización de refriega
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Inciar Ordenador
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players controlled by a Computer player) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of (Picked player)) Equal to Human
((Picked player) slot status) Equal to Is playing
Then - Actions
Melee Game - Create Human starting units for (Picked player) at ((Picked player) start location) ( Include Heroes)
AI - Start melee AI script for (Picked player) : human.ai (Unexpected type: 'aiscript')
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of (Picked player)) Equal to Orc
((Picked player) slot status) Equal to Is playing
Then - Actions
Melee Game - Create Orc starting units for (Picked player) at ((Picked player) start location) ( Include Heroes)
AI - Start melee AI script for (Picked player) : orc.ai (Unexpected type: 'aiscript')
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of (Picked player)) Equal to Undead
((Picked player) slot status) Equal to Is playing
Then - Actions
Melee Game - Create Undead starting units for (Picked player) at ((Picked player) start location) ( Include Heroes)
AI - Start melee AI script for (Picked player) : undead.ai (Unexpected type: 'aiscript')
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of (Picked player)) Equal to Night Elf
((Picked player) slot status) Equal to Is playing
Then - Actions
Melee Game - Create Night Elf starting units for (Picked player) at ((Picked player) start location) ( Include Heroes)
AI - Start melee AI script for (Picked player) : elf.ai (Unexpected type: 'aiscript')
Else - Actions
Creando botones
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Dialog - Create a dialog button for DRazas labelled Humanos
Set Variable Set BDRazas[1] = (Last created dialog Button)
Dialog - Create a dialog button for DRazas labelled Orcos
Set Variable Set BDRazas[2] = (Last created dialog Button)
Dialog - Create a dialog button for DRazas labelled Elfos nocturnos
Set Variable Set BDRazas[3] = (Last created dialog Button)
Dialog - Create a dialog button for DRazas labelled Muertos vivientes
Set Variable Set BDRazas[4] = (Last created dialog Button)
Dialog - Create a dialog button for DRazas labelled Magnatauros
Set Variable Set BDRazas[5] = (Last created dialog Button)
Dialog - Create a dialog button for DRazas labelled Nagas
Set Variable Set BDRazas[6] = (Last created dialog Button)
Dialog - Create a dialog button for DRazas labelled Draenai
Set Variable Set BDRazas[7] = (Last created dialog Button)
Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
Loop - Actions
Dialog - Show DRazas for (Picked player)
Seleccionar raza
Events
Dialog - A dialog button is clicked for DRazas
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to BDRazas[1]
Then - Actions
Melee Game - Create Human starting units for (Triggering player) at ((Triggering player) start location) ( Include Heroes)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to BDRazas[2]
Then - Actions
Melee Game - Create Orc starting units for (Triggering player) at ((Triggering player) start location) ( Include Heroes)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to BDRazas[3]
Then - Actions
Melee Game - Create Night Elf starting units for (Triggering player) at ((Triggering player) start location) ( Include Heroes)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to BDRazas[4]
Then - Actions
Melee Game - Create Undead starting units for (Triggering player) at ((Triggering player) start location) ( Include Heroes)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to BDRazas[5]
Then - Actions
Melee Game - Create Human starting units for (Triggering player) at ((Triggering player) start location) ( Include Heroes)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Unit - Create 1 . Colonia for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Unit - Create 5 . Servidor Tuskar for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to BDRazas[6]
Then - Actions
Melee Game - Create Human starting units for (Triggering player) at ((Triggering player) start location) ( Include Heroes)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Unit - Create 1 . Temple of Tides for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Unit - Create 5 . Mur'gul Slave for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to BDRazas[7]
Then - Actions
Melee Game - Create Human starting units for (Triggering player) at ((Triggering player) start location) ( Include Heroes)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Unit - Create 1 . Temple of Tides for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Unit - Create 5 . Mur'gul Slave for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to BDRazas[5]
Then - Actions
Melee Game - Create Human starting units for (Triggering player) at ((Triggering player) start location) ( Include Heroes)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Unit - Create 1 . Colonia for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Unit - Create 5 . Servidor Tuskar for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to BDRazas[6]
Then - Actions
Melee Game - Create Human starting units for (Triggering player) at ((Triggering player) start location) ( Include Heroes)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Unit - Create 1 . Temple of Tides for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Unit - Create 5 . Mur'gul Slave for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to BDRazas[7]
Then - Actions
Melee Game - Create Human starting units for (Triggering player) at ((Triggering player) start location) ( Include Heroes)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Unit - Create 1 . Draenei Haven for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Unit - Create 5 . Draenei Laborer for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
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.