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
(8)Scherbenwelt.w3x
Variables
Initialization
Melee Initialization
Helden Limit
Spell Gnom Crusher
Spell
Target
Attacks
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
Mine
unit
No
Selection
boolean
Yes
WF_AttackDegrees
real
No
WF_Caster
unit
No
WF_Target
unit
No
WF_TargetHeight
real
No
x_Joueur_x
player
No
Default melee game initialization for all players
Melee Initialization
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)
Melee Game - Create starting units (for all players)
Melee Game - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
Helden Limit
Events
Map initialization
Conditions
Actions
-------- Hero Maximum --------
Player - Limit training of Heroes to 3 for Player 1 (Red)
Player - Limit training of Heroes to 3 for Player 2 (Blue)
Player - Limit training of Heroes to 3 for Player 3 (Teal)
Player - Limit training of Heroes to 3 for Player 4 (Purple)
Player - Limit training of Heroes to 3 for Player 5 (Yellow)
Player - Limit training of Heroes to 3 for Player 6 (Orange)
Player - Limit training of Heroes to 3 for Player 7 (Green)
Player - Limit training of Heroes to 3 for Player 8 (Pink)
-------- Gewählter Hero nur 1mal --------
Player - Limit training of Blut-Ritter to 1 for (Picked player)
Player - Limit training of Hexenmeister to 1 for (Picked player)
Player - Limit training of Paladin to 1 for (Picked player)
Player - Limit training of Blood Mage to 1 for (Picked player)
Player - Limit training of Blademaster to 1 for (Picked player)
Player - Limit training of Far Seer to 1 for (Picked player)
Player - Limit training of Tauren Chieftain to 1 for (Picked player)
Player - Limit training of Shadow Hunter to 1 for (Picked player)
Player - Limit training of Death Knight to 1 for (Picked player)
Player - Limit training of Lich to 1 for (Picked player)
Player - Limit training of Dreadlord to 1 for (Picked player)
Player - Limit training of Crypt Lord to 1 for (Picked player)
Player - Limit training of Keeper of the Grove to 1 for (Picked player)
Player - Limit training of Priestess of the Moon to 1 for (Picked player)
Player - Limit training of Demon Hunter to 1 for (Picked player)
Player - Limit training of Warden to 1 for (Picked player)
Player - Limit training of Blackrock-Krieger to 1 for (Picked player)
Player - Limit training of Sea Witch to 1 for (Picked player)
Player - Limit training of Tinker to 1 for (Picked player)
Player - Limit training of Beastmaster to 1 for (Picked player)
Player - Limit training of Dark Ranger to 1 for (Picked player)
Player - Limit training of Firelord to 1 for (Picked player)
Player - Limit training of Pit Lord to 1 for (Picked player)
Player - Limit training of Brewmaster to 1 for (Picked player)
Player - Limit training of Gnom Crasher to 1 for (Picked player)
Spell
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Tornado Hieb
Actions
Set Variable Set WF_Caster = (Casting unit)
Set Variable Set WF_Target = (Target unit of ability being cast)
Set Variable Set WF_TargetHeight = (Default flying height of WF_Target)
Unit - Add Crow Form to WF_Caster
Unit - Add Crow Form to WF_Target
Unit - Remove Crow Form from WF_Caster
Unit - Remove Crow Form from WF_Target
Animation - Change WF_Target flying height to 100.00 at 1000000000.00
Animation - Change WF_Caster 's animation speed to 200.00 % of its original speed
Animation - Change WF_Target flying height to 600.00 at 150.00
Animation - Change WF_Caster flying height to 500.00 at 120.00
Set Variable Set WF_AttackDegrees = "0.00"
Unit - Pause WF_Target
Unit - Pause WF_Caster
Trigger - Turn on _Attacks <gen>
Wait 4.00 game-time seconds
Trigger - Turn off _Attacks <gen>
-------- --------
-------- Final Attack --------
-------- --------
Sound - Play Fur_Khaz_Modan <gen> at 100 % volume, attached to WF_Caster
Animation - Reset WF_Caster 's animation
Animation - Change WF_Caster 's animation speed to 100.00 % of its original speed
Animation - Play WF_Caster 's Attack Slam animation, using only Common animations
Wait 0.40 game-time seconds
Animation - Change WF_Target flying height to 0.00 at 1200.00
Animation - Change WF_Caster flying height to 0.00 at 600.00
Trigger - Turn on Target <gen>
-------- --------
-------- When the target comes to the ground --------
-------- --------
Wait 0.50 game-time seconds
Trigger - Turn off Target <gen>
Unit - Unpause WF_Caster
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of WF_Target using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Unit - Cause WF_Caster to damage WF_Target , dealing 500.00 damage of attack type Spells and damage type Enhanced
Wait 2.00 seconds
Unit - Unpause WF_Target
Animation - Change WF_Target flying height to WF_TargetHeight at (WF_TargetHeight x 2.00)
If ((WF_Target is alive) Equal to True) then do (Reset WF_Target's animation) else do (Do nothing)
Target
Events
Time - Every 0.05 seconds of game time
Conditions
Actions
Unit - Move WF_Target instantly to ((Position of WF_Target) offset by 25.00 towards (Angle from (Position of WF_Caster) to (Position of WF_Target)) degrees.) , facing (Angle from (Position of WF_Target) to (Position of WF_Caster)) degrees
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of WF_Target using Objects\Spawnmodels\Orc\OrcLargeDeathExplode\OrcLargeDeathExplode.mdl
Attacks
Events
Time - Every 0.20 seconds of game time
Conditions
Actions
Set Variable Set WF_AttackDegrees = (WF_AttackDegrees + (Random real number between 30.00 and 80.00))
Unit - Move WF_Caster instantly to ((Position of WF_Target) offset by 75.00 towards WF_AttackDegrees degrees.) , facing (Position of WF_Target)
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of WF_Target using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
Animation - Play WF_Caster 's Attack walk stand spin animation, using only Common animations
Animation - Play WF_Target 's death animation, using only Common animations
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.