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
Rango.w3x
Variables
You dont need this
Init
Cine
Cine fin
Spawn
Units
Range
Range Init
Range
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
SubirRango1
integer
No
SubirRango2
integer
No
SubirRango3
integer
No
Init
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Turn Gives bounty On for (Picked player)
Visibility - Create an initially Enabled visibility modifier for Neutral Passive emitting Visibility across (Playable map area)
Game - Display to (All players) for 3600.00 seconds the text: Write |c00FF0303-e|r for more enemys.Write |c00FF0303-u|r for more units.
Cine
Events
Time - Elapsed game time is (Random real number between 10.00 and 30.00) seconds
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
Unit - Make (Picked unit) Invulnerable
Cinematic - Turn cinematic mode On for (All players)
Unit - Create 1 . Zeppelin for Neutral Passive at (Center of Regi__n_000 <gen>) facing Default building facing degrees
Unit - Change color of (Last created unit) to Red
Camera - Lock camera target for Player 1 (Red) to (Last created unit) , offset by ( 0 , 0 ) using Default rotation
Unit - Order (Last created unit) to Move To . (Center of Regi__n_001 <gen>)
Cine fin
Events
Unit - A unit enters Regi__n_001 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Zeppelin
Actions
Trigger - Turn off (This trigger)
Animation - Change (Triggering unit) flying height to 0.00 at 500.00
Cinematic - Turn cinematic mode Off for (All players)
Wait 0.80 seconds
Unit - Create 5 . Rifleman for Player 1 (Red) at (Center of Regi__n_001 <gen>) facing Default building facing degrees
Unit - Explode (Triggering unit) .
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
Unit - Make (Picked unit) Vulnerable
Spawn
Events
Player - Player 1 (Red) types a chat message containing -e (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Create (Random integer number between 8 and 15) . Peasant for Player 2 (Blue) at (Random point in (Playable map area)) facing Default building facing degrees
Unit - Create (Random integer number between 5 and 10) . Sorceress for Player 2 (Blue) at (Random point in (Playable map area)) facing Default building facing degrees
Unit - Create (Random integer number between 5 and 10) . Priest for Player 2 (Blue) at (Random point in (Playable map area)) facing Default building facing degrees
Unit - Create (Random integer number between 3 and 7) . Knight for Player 2 (Blue) at (Random point in (Playable map area)) facing Default building facing degrees
Units
Events
Player - Player 1 (Red) types a chat message containing -u (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Create (Random integer number between 3 and 8) . Footman for Player 1 (Red) at (Random point in (Playable map area)) facing Default building facing degrees
Unit - Create (Random integer number between 3 and 7) . Rifleman for Player 1 (Red) at (Random point in (Playable map area)) facing Default building facing degrees
You will need to create the 3 range units.
Range Init
Events
Map initialization
Conditions
Actions
-------- Aqui ajustan el número de kills para subir a Rango 1 --------
Set Variable Set SubirRango1 = "3"
-------- Aqui ajustan el número de kills para subir a Rango 2 --------
Set Variable Set SubirRango2 = "4"
-------- Aqui ajustan el número de kills para subir a Rango 3 --------
Set Variable Set SubirRango3 = "5"
Range
Events
Unit - A unit Dies
Conditions
((Dying unit) belongs to an enemy of Player 1 (Red).) Equal to True
Actions
-------- Here is for a Footman --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Killing unit)) Equal to Footman
Then - Actions
Unit - Set the custom value of (Killing unit) to ((Custom value of (Killing unit)) + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of (Killing unit)) Equal to SubirRango1
Then - Actions
Unit - Replace (Killing unit) with a Soldado raso (Rango 1) using The old unit's relative life and mana
Unit - Set the custom value of (Killing unit) to 0
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Killing unit)) Equal to Soldado raso (Rango 1)
Then - Actions
Unit - Set the custom value of (Killing unit) to ((Custom value of (Killing unit)) + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of (Killing unit)) Equal to SubirRango2
Then - Actions
Unit - Replace (Killing unit) with a Soldado raso (Rango 2) using The old unit's relative life and mana
Unit - Set the custom value of (Killing unit) to 0
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Killing unit)) Equal to Soldado raso (Rango 2)
Then - Actions
Unit - Set the custom value of (Killing unit) to ((Custom value of (Killing unit)) + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of (Killing unit)) Equal to SubirRango3
Then - Actions
Unit - Replace (Killing unit) with a Soldado raso (Rango 3) using The old unit's relative life and mana
Unit - Set the custom value of (Killing unit) to 0
Else - Actions
Else - Actions
-------- Here is for a Rifleman --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Killing unit)) Equal to Rifleman
Then - Actions
Unit - Set the custom value of (Killing unit) to ((Custom value of (Killing unit)) + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of (Killing unit)) Equal to SubirRango1
Then - Actions
Unit - Replace (Killing unit) with a Fusilero (Rango 1) using The old unit's relative life and mana
Unit - Set the custom value of (Killing unit) to 0
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Killing unit)) Equal to Fusilero (Rango 1)
Then - Actions
Unit - Set the custom value of (Killing unit) to ((Custom value of (Killing unit)) + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of (Killing unit)) Equal to SubirRango2
Then - Actions
Unit - Replace (Killing unit) with a Fusilero (Rango 2) using The old unit's relative life and mana
Unit - Set the custom value of (Killing unit) to 0
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Killing unit)) Equal to Fusilero (Rango 2)
Then - Actions
Unit - Set the custom value of (Killing unit) to ((Custom value of (Killing unit)) + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of (Killing unit)) Equal to SubirRango3
Then - Actions
Unit - Replace (Killing unit) with a Fusilero (Rango 3) using The old unit's relative life and mana
Unit - Set the custom value of (Killing unit) to 0
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.