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
Probar.w3x
Variables
Inicialización
Inicializacion
DFCreep
Fusión
ActivarF
Exsaltación
ActivarE
MuereE
Carga
ActivarC
TerminarC
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
Atacador
unit
No
DFAngulo
real
Yes
DFCreep
unit
Yes
DFPunto
location
Yes
Dummy
unit
No
Total
real
No
Inicialización predeterminada de partida de refriega para todos los jugadores
Inicializacion
Events
Map initialization
Conditions
Actions
Melee Game - Run melee AI scripts (for computer players)
Set Variable Set DFCreep[1] = Reef Elemental 0004 <gen>
Set Variable Set DFCreep[2] = Reef Elemental 0002 <gen>
Set Variable Set DFCreep[3] = Reef Elemental 0003 <gen>
Set Variable Set DFCreep[4] = Sea Elemental 0001 <gen>
Set Variable Set DFPunto[1] = (Position of DFCreep[1])
Set Variable Set DFPunto[2] = (Position of DFCreep[2])
Set Variable Set DFPunto[3] = (Position of DFCreep[3])
Set Variable Set DFPunto[4] = (Position of DFCreep[4])
Set Variable Set DFAngulo[1] = (Facing of DFCreep[1])
Set Variable Set DFAngulo[2] = (Facing of DFCreep[2])
Set Variable Set DFAngulo[3] = (Facing of DFCreep[3])
Set Variable Set DFAngulo[4] = (Facing of DFCreep[4])
Game - Display to (All players) the text: Escribe: "Respawn" sin las comillas en la consola para revivir a los creeps muertos.Mapa creado por: HStyelV
DFCreep
Events
Player - Player 1 (Red) types a chat message containing Respawn (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(DFCreep[1] is dead) Equal to True
Then - Actions
Unit - Create 1 . Reef Elemental for Player 12 (Brown) at DFPunto[1] facing DFAngulo[1] degrees
Set Variable Set DFCreep[1] = (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(DFCreep[2] is dead) Equal to True
Then - Actions
Unit - Create 1 . Reef Elemental for Player 12 (Brown) at DFPunto[2] facing DFAngulo[2] degrees
Set Variable Set DFCreep[2] = (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(DFCreep[3] is dead) Equal to True
Then - Actions
Unit - Create 1 . Reef Elemental for Player 12 (Brown) at DFPunto[3] facing DFAngulo[3] degrees
Set Variable Set DFCreep[3] = (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(DFCreep[4] is dead) Equal to True
Then - Actions
Unit - Create 1 . Sea Elemental for Player 12 (Brown) at DFPunto[4] facing DFAngulo[4] degrees
Set Variable Set DFCreep[4] = (Last created unit)
Else - Actions
ActivarF
Events
Unit - A unit Is attacked
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Level of Fusión for (Attacking unit)) Equal to 1) and ((Random integer number between 1 and 100) Greater than 85)
Then - Actions
Set Variable Set Total = (0.05 x (Max life of (Attacked unit)))
Unit - Set life of (Attacking unit) to ((Life of (Attacking unit)) + Total)
Unit - Set life of (Attacked unit) to ((Life of (Attacked unit)) - Total)
Floating Text - Create floating text that reads (+ + ((String((Integer(Total)))) + !)) at (Position of (Attacking unit)) with Z offset 0 , using font size 10.00 , color ( 0.00 %, 100 %, 0.00 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 90.00 towards 90 degrees
Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
Floating Text - Change the age of (Last created floating text) to 0.50 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
Floating Text - Create floating text that reads (- + ((String((Integer(Total)))) + !)) at (Position of (Attacked unit)) with Z offset 0 , using font size 10.00 , color ( 100.00 %, 0.00 %, 0.00 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 90.00 towards 90 degrees
Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
Floating Text - Change the age of (Last created floating text) to 0.50 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
Special Effect - Create a special effect at (Position of (Attacking unit)) using Abilities\Spells\Orc\FeralSpirit\feralspirittarget.mdl
Special Effect - Destroy (Last created special effect)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Level of Fusión for (Attacking unit)) Equal to 2) and ((Random integer number between 1 and 100) Greater than 80)
Then - Actions
Set Variable Set Total = (0.10 x (Max life of (Attacked unit)))
Unit - Set life of (Attacking unit) to ((Life of (Attacking unit)) + Total)
Unit - Set life of (Attacked unit) to ((Life of (Attacked unit)) - Total)
Floating Text - Create floating text that reads (+ + ((String((Integer(Total)))) + !)) at (Position of (Attacking unit)) with Z offset 0 , using font size 10.00 , color ( 0.00 %, 100 %, 0.00 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 90.00 towards 90 degrees
Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
Floating Text - Change the age of (Last created floating text) to 0.50 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
Floating Text - Create floating text that reads (- + ((String((Integer(Total)))) + !)) at (Position of (Attacked unit)) with Z offset 0 , using font size 10.00 , color ( 100.00 %, 0.00 %, 0.00 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 90.00 towards 90 degrees
Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
Floating Text - Change the age of (Last created floating text) to 0.50 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
Special Effect - Create a special effect at (Position of (Attacking unit)) using Abilities\Spells\Orc\FeralSpirit\feralspirittarget.mdl
Special Effect - Destroy (Last created special effect)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Level of Fusión for (Attacking unit)) Equal to 3) and ((Random integer number between 1 and 100) Greater than 75)
Then - Actions
Set Variable Set Total = (0.15 x (Max life of (Attacked unit)))
Unit - Set life of (Attacking unit) to ((Life of (Attacking unit)) + Total)
Unit - Set life of (Attacked unit) to ((Life of (Attacked unit)) - Total)
Floating Text - Create floating text that reads (+ + ((String((Integer(Total)))) + !)) at (Position of (Attacking unit)) with Z offset 0 , using font size 10.00 , color ( 0.00 %, 100 %, 0.00 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 90.00 towards 90 degrees
Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
Floating Text - Change the age of (Last created floating text) to 0.50 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
Floating Text - Create floating text that reads (- + ((String((Integer(Total)))) + !)) at (Position of (Attacked unit)) with Z offset 0 , using font size 10.00 , color ( 100.00 %, 0.00 %, 0.00 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 90.00 towards 90 degrees
Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
Floating Text - Change the age of (Last created floating text) to 0.50 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
Special Effect - Create a special effect at (Position of (Attacking unit)) using Abilities\Spells\Orc\FeralSpirit\feralspirittarget.mdl
Special Effect - Destroy (Last created special effect)
Else - Actions
ActivarE
Events
Unit - A unit Is attacked
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Level of Exsaltación for (Attacking unit)) Equal to 1) and ((Random integer number between 1 and 100) Greater than 80)
Then - Actions
Unit - Create 1 . Pequeño paladín for Player 1 (Red) at (Position of (Attacked unit)) facing (Angle from (Position of (Last created unit)) to (Position of (Attacked unit))) degrees
Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Level of Exsaltación for (Attacking unit)) Equal to 2) and ((Random integer number between 1 and 100) Greater than 60)
Then - Actions
Unit - Create 1 . Pequeño paladín for Player 1 (Red) at (Position of (Attacked unit)) facing (Angle from (Position of (Last created unit)) to (Position of (Attacked unit))) degrees
Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Level of Exsaltación for (Attacking unit)) Equal to 3) and ((Random integer number between 1 and 100) Greater than 40)
Then - Actions
Unit - Create 1 . Pequeño paladín for Player 1 (Red) at (Position of (Attacked unit)) facing (Angle from (Position of (Last created unit)) to (Position of (Attacked unit))) degrees
Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
Else - Actions
MuereE
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Pequeño paladín
Actions
Unit - Remove (Triggering unit) from the game
ActivarC
Events
Unit - A unit Is attacked
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Carga for (Attacking unit)) Greater than 0
Then - Actions
Set Variable Set Atacador = (Attacking unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Level of Carga for (Attacking unit)) Equal to 1) and ((Random integer number between 1 and 100) Greater than 0)
Then - Actions
Unit - Create 1 . Dummy (1) for Player 1 (Red) at (Position of (Attacking unit)) facing Default building facing degrees
Set Variable Set Dummy = (Last created unit)
Unit - Order Dummy to Orc Shaman - Bloodlust . Atacador
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Level of Carga for (Attacking unit)) Equal to 2) and ((Random integer number between 1 and 100) Greater than 80)
Then - Actions
Unit - Create 1 . Dummy (2) for Player 1 (Red) at (Position of (Attacking unit)) facing Default building facing degrees
Set Variable Set Dummy = (Last created unit)
Unit - Order Dummy to Orc Shaman - Bloodlust . Atacador
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Level of Carga for (Attacking unit)) Equal to 3) and ((Random integer number between 1 and 100) Greater than 80)
Then - Actions
Unit - Create 1 . Dummy (3) for Player 1 (Red) at (Position of (Attacking unit)) facing Default building facing degrees
Set Variable Set Dummy = (Last created unit)
Unit - Order Dummy to Orc Shaman - Bloodlust . Atacador
Else - Actions
TerminarC
Events
Unit - A unit Finishes casting an ability
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Triggering unit)) Equal to Dummy (1)
(Unit-type of (Triggering unit)) Equal to Dummy (2)
(Unit-type of (Triggering unit)) Equal to Dummy (3)
Actions
Floating Text - Create floating text that reads Carga! at (Position of Atacador) with Z offset 0 , using font size 10.00 , color ( 100.00 %, 0.00 %, 0.00 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 180.00 towards 90 degrees
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Floating Text - Change the age of (Last created floating text) to 0.25 seconds
Floating Text - Change the fading age of (Last created floating text) to 0.50 seconds
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.