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
Advanced Monsoon v1.00.w3x
Variables
Monsoon
Monsoon
Monsoon Loop
Monsoon Loop Reverse
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
Caster
unit
No
Integer
integer
No
Integer2
integer
No
25
Loc
location
No
PointCurrent
location
No
Special_Effect_1
effect
No
Timer
integer
No
Monsoon
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Monsoon
Actions
Set Variable Set Caster = (Triggering unit)
Set Variable Set Loc = (Target point of ability being cast)
Special Effect - Create a special effect at Loc using Abilities\Spells\Human\FlameStrike\FlameStrikeTarget.mdl
Set Variable Set Special_Effect_1 = (Last created special effect)
Trigger - Turn on Monsoon_Loop <gen>
Monsoon Loop
Events
Time - Every 0.05 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Timer Less than 100
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer Less than 25
Then - Actions
Set Variable Set PointCurrent = (Loc offset by (300.00 - ((Real(Integer)) x 12.00)) towards (15.00 x ((Real(Integer)) x 5.00)) degrees.)
Special Effect - Create a special effect at PointCurrent using Doodads\Cinematic\Lightningbolt\Lightningbolt.mdl
Unit Group - Pick every unit in (Units within 50.00 of PointCurrent matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Caster).) Equal to True))).) and do (Actions)
Loop - Actions
Unit - Cause Caster to damage (Picked unit) , dealing (Real((Strength of Caster (Include bonuses)))) damage of attack type Spells and damage type Normal
Set Variable Set Integer = (Integer + 1)
Set Variable Set Timer = (Timer + 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer Equal to 25
Then - Actions
Set Variable Set PointCurrent = (Loc offset by (300.00 - ((Real(Integer)) x 12.00)) towards (15.00 x ((Real(Integer)) x 5.00)) degrees.)
Special Effect - Create a special effect at PointCurrent using Doodads\Cinematic\Lightningbolt\Lightningbolt.mdl
Unit Group - Pick every unit in (Units within 50.00 of PointCurrent matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Caster).) Equal to True))).) and do (Actions)
Loop - Actions
Unit - Cause Caster to damage (Picked unit) , dealing (Real((Strength of Caster (Include bonuses)))) damage of attack type Spells and damage type Normal
Special Effect - Create a special effect at Loc using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Unit Group - Pick every unit in (Units within 300.00 of Loc matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Caster).) Equal to True))).) and do (Actions)
Loop - Actions
Unit - Cause Caster to damage (Picked unit) , dealing (Real((Strength of Caster (Include bonuses)))) damage of attack type Spells and damage type Normal
Set Variable Set Integer = "0"
Set Variable Set Timer = (Timer + 1)
Trigger - Turn on Monsoon_Loop_Reverse <gen>
Trigger - Turn off (This trigger)
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Timer Greater than or equal to 100) and (Timer Less than 125)
Then - Actions
Set Variable Set PointCurrent = (Loc offset by 300.00 towards (15.00 x (Real(Integer))) degrees.)
Special Effect - Create a special effect at PointCurrent using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Unit Group - Pick every unit in (Units within 200.00 of PointCurrent matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Caster).) Equal to True))).) and do (Actions)
Loop - Actions
Unit - Cause Caster to damage (Picked unit) , dealing ((Real((Strength of Caster (Include bonuses)))) x (Real((Level of Monsoon for Caster)))) damage of attack type Spells and damage type Normal
Set Variable Set Integer = (Integer + 1)
Set Variable Set Timer = (Timer + 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Timer Equal to 125
Then - Actions
Special Effect - Create a special effect at Loc using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Unit Group - Pick every unit in (Units within 300.00 of Loc matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Caster).) Equal to True))).) and do (Actions)
Loop - Actions
Unit - Cause Caster to damage (Picked unit) , dealing ((Real((Strength of Caster (Include bonuses)))) x (Real((Level of Monsoon for Caster)))) damage of attack type Spells and damage type Normal
Special Effect - Destroy Special_Effect_1
Trigger - Turn off (This trigger)
Trigger - Turn off Monsoon_Loop_Reverse <gen>
Set Variable Set Integer = "0"
Set Variable Set Timer = "0"
Else - Actions
Monsoon Loop Reverse
Events
Time - Every 0.05 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Timer Less than 100
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer Less than 25
Then - Actions
Set Variable Set PointCurrent = (Loc offset by (0.00 + ((Real(Integer)) x 12.00)) towards (15.00 x ((Real(Integer)) x 3.00)) degrees.)
Special Effect - Create a special effect at PointCurrent using Doodads\Cinematic\Lightningbolt\Lightningbolt.mdl
Unit Group - Pick every unit in (Units within 50.00 of PointCurrent matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Caster).) Equal to True))).) and do (Actions)
Loop - Actions
Unit - Cause Caster to damage (Picked unit) , dealing (Real((Strength of Caster (Include bonuses)))) damage of attack type Spells and damage type Normal
Set Variable Set Integer = (Integer + 1)
Set Variable Set Timer = (Timer + 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer Equal to 25
Then - Actions
Set Variable Set PointCurrent = (Loc offset by (0.00 + ((Real(Integer)) x 12.00)) towards (15.00 x ((Real(Integer)) x 5.00)) degrees.)
Special Effect - Create a special effect at PointCurrent using Doodads\Cinematic\Lightningbolt\Lightningbolt.mdl
Unit Group - Pick every unit in (Units within 50.00 of PointCurrent matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Caster).) Equal to True))).) and do (Actions)
Loop - Actions
Unit - Cause Caster to damage (Picked unit) , dealing (Real((Strength of Caster (Include bonuses)))) damage of attack type Spells and damage type Normal
Special Effect - Create a special effect at Loc using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Loc offset by 200.00 towards 45.00 degrees.) using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Loc offset by 200.00 towards 135.00 degrees.) using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Loc offset by 200.00 towards 235.00 degrees.) using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Loc offset by 200.00 towards 315.00 degrees.) using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Unit Group - Pick every unit in (Units within 300.00 of Loc matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Caster).) Equal to True))).) and do (Actions)
Loop - Actions
Unit - Cause Caster to damage (Picked unit) , dealing (Real(((Strength of Caster (Include bonuses)) x 2))) damage of attack type Spells and damage type Normal
Set Variable Set Integer = "0"
Set Variable Set Timer = (Timer + 1)
Trigger - Turn on Monsoon_Loop <gen>
Trigger - Turn off (This trigger)
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Timer Greater than or equal to 100) and (Timer Less than 125)
Then - Actions
Set Variable Set PointCurrent = (Loc offset by 300.00 towards (15.00 x (Real(Integer))) degrees.)
Special Effect - Create a special effect at PointCurrent using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Unit Group - Pick every unit in (Units within 200.00 of PointCurrent matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Caster).) Equal to True))).) and do (Actions)
Loop - Actions
Unit - Cause Caster to damage (Picked unit) , dealing ((Real((Strength of Caster (Include bonuses)))) x (Real((Level of Monsoon for Caster)))) damage of attack type Spells and damage type Normal
Set Variable Set Integer = (Integer + 1)
Set Variable Set Timer = (Timer + 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Timer Equal to 125
Then - Actions
Special Effect - Create a special effect at Loc using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Unit Group - Pick every unit in (Units within 300.00 of Loc matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Caster).) Equal to True))).) and do (Actions)
Loop - Actions
Unit - Cause Caster to damage (Picked unit) , dealing ((Real((Strength of Caster (Include bonuses)))) x (Real((Level of Monsoon for Caster)))) damage of attack type Spells and damage type Normal
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.