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
Underlord.w3x
Variables
vidljivost
start
Prva faza
Explozije
Bacanje bombi do 10k hpa
Kraj bombi
Druga faza
Letenje
Sve i kraj
kraj druge faze
flame strike
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
duzina_zida
real
No
fire_elemental
unit
Yes
start
Events
Map initialization
Conditions
Actions
Visibility - Disable fog of war
Visibility - Disable black mask
Bacanje bombi do 10k hpa
Events
Unit - A unit Is attacked
Conditions
(Attacked unit) Equal to Underlord 0001 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Attacked unit)) Greater than or equal to 5000.00
Then - Actions
For each (Integer A) from 1 to 12 , do (Actions)
Loop - Actions
Unit - Create 1 . Fire Explosion dummy for Neutral Hostile at ((Position of (Attacked unit)) offset by 450.00 towards (30.00 x (Real((Integer A)))) degrees.) facing Default building facing degrees
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Trigger - Turn off (This trigger)
Else - Actions
Kraj bombi
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Fire Explosion dummy
Actions
Special Effect - Create a special effect at (Position of (Dying unit)) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
Unit Group - Pick every unit in (Units within 150.00 of (Position of (Dying unit)) matching (((Matching unit) belongs to an enemy of Neutral Hostile.) Equal to True).) and do (Actions)
Loop - Actions
Unit - Cause Underlord 0001 <gen> to damage (Picked unit) , dealing 300.00 damage of attack type Spells and damage type Normal
Unit - Remove (Dying unit) from the game
Trigger - Turn on Bacanje_bombi_do_10k_hpa <gen>
Sve i kraj
Events
Unit - A unit Is attacked
Conditions
(Attacked unit) Equal to Underlord 0001 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Attacked unit)) Less than 4000.00
Then - Actions
Set Variable Set duzina_zida = "1500.00"
Unit - Add Invulnerable (Neutral) to Underlord 0001 <gen>
Unit - Add Flame Strike to Underlord 0001 <gen>
Animation - Change Underlord 0001 <gen> flying height to 420.00 at 200.00
Unit - Create 1 . Fire elemental for Neutral Hostile at ((Position of Underlord 0001 <gen>) offset by 350.00 towards (Facing of Underlord 0001 <gen>) degrees.) facing Default building facing degrees
Set Variable Set fire_elemental[1] = (Last created unit)
Unit - Create 1 . Fire elemental for Neutral Hostile at ((Position of Underlord 0001 <gen>) offset by 350.00 towards (Facing of Underlord 0001 <gen>) degrees.) facing Default building facing degrees
Set Variable Set fire_elemental[2] = (Last created unit)
For each (Integer A) from 1 to 20 , do (Actions)
Loop - Actions
Unit - Create 1 . Fire wall dummy for Neutral Hostile at ((Position of Underlord 0001 <gen>) offset by duzina_zida towards ((Facing of Underlord 0001 <gen>) + 45.00) degrees.) facing Default building facing degrees
Unit - Create 1 . Fire wall dummy for Neutral Hostile at ((Position of Underlord 0001 <gen>) offset by duzina_zida towards ((Facing of Underlord 0001 <gen>) - 45.00) degrees.) facing Default building facing degrees
Set Variable Set duzina_zida = (duzina_zida - 150.00)
Unit - Order Underlord 0001 <gen> to Human Blood Mage - Flame Strike . (Random point in Region_000 <gen>)
Trigger - Turn on kraj_druge_faze <gen>
Trigger - Turn off (This trigger)
Else - Actions
kraj druge faze
Events
Unit - A unit Dies
Conditions
And - All (Conditions) are true
Conditions
(fire_elemental[1] is dead) Equal to True
(fire_elemental[2] is dead) Equal to True
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Picked unit)) Equal to Fire wall dummy
Then - Actions
Unit - Remove (Picked unit) from the game
Else - Actions
Animation - Change Underlord 0001 <gen> flying height to 20.00 at 200.00
Unit - Remove Invulnerable (Neutral) from Underlord 0001 <gen>
Unit - Remove Flame Strike from Underlord 0001 <gen>
For each (Integer A) from 1 to 12 , do (Actions)
Loop - Actions
Unit - Create 1 . Lava Spawn (Level 3) for Neutral Hostile at ((Position of Underlord 0001 <gen>) offset by 350.00 towards (30.00 x (Real((Integer A)))) degrees.) facing Default building facing degrees
Trigger - Turn off (This trigger)
flame strike
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(fire_elemental[1] is alive) Equal to True
(fire_elemental[2] is alive) Equal to True
Then - Actions
Unit - Order Underlord 0001 <gen> to Human Blood Mage - Flame Strike . (Random point in Region_000 <gen>)
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.