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
Spell Skeletal Tribute.w3x
Variables
Initialization
Veiw
Level
Units
Enemy Produce
Cave 1
Cave 2
Cave 3
Cave 4
Spell
Skeletal Tribute
Skeletal Tribute Summon
Skeletal Tribute Die
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
HeroLvl
integer
No
TempPoint
location
No
TempPoint2
location
No
TempUnit
unit
No
TempUnit2
unit
No
Veiw
Events
Map initialization
Conditions
Actions
Visibility - Disable fog of war
Visibility - Disable black mask
Level
Events
Map initialization
Conditions
Actions
Hero - Set Blood Mage 0000 <gen> Hero-level to 10 , Hide level-up graphics
Enemy Produce
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
Unit - Create 3 . Footman for Player 2 (Blue) at (Center of UnitSpawn01 <gen>) facing Default building facing degrees
Unit - Create 3 . Footman for Player 2 (Blue) at (Center of UnitSpawn02 <gen>) facing Default building facing degrees
Unit - Create 3 . Footman for Player 2 (Blue) at (Center of UnitSpawn03 <gen>) facing Default building facing degrees
Unit - Create 3 . Footman for Player 2 (Blue) at (Center of UnitSpawn04 <gen>) facing Default building facing degrees
Cave 1
Events
Unit - A unit enters UnitSpawn01 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Footman
Actions
Unit - Order (Entering unit) to Move To . (Center of UnitStop <gen>)
Cave 2
Events
Unit - A unit enters UnitSpawn02 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Footman
Actions
Unit - Order (Entering unit) to Move To . (Center of UnitStop <gen>)
Cave 3
Events
Unit - A unit enters UnitSpawn03 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Footman
Actions
Unit - Order (Entering unit) to Move To . (Center of UnitStop <gen>)
Cave 4
Events
Unit - A unit enters UnitSpawn04 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Footman
Actions
Unit - Order (Entering unit) to Move To . (Center of UnitStop <gen>)
IMPORTING:
Steps:
1. Copy the Skeletal Tribute and Skeletal Tribute Summon and the Skeletal Tribute Die Triggers (Ctrl + C)
2. Open your map.
3. Open File -> Preferences -> Then CHECK the Automatically create unkown variables while pastung trigger data.
4. Paste it on your trigger editor.
5. Go back here.
6. Copy the Spell Skeletal Tribute.
7. Paste it on your Object Editor.
8. Youre Done! Enjoy!
Please include my name in the credits if used in you map. All im asking is just credit.
Skeletal Tribute
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Skeletal Tribute
Actions
-------- Killing and Creating the Mage --------
Set Variable Set TempPoint = (Position of (Triggering unit))
Unit - Kill (Triggering unit)
Set Variable Set HeroLvl = (Hero level of (Triggering unit))
Special Effect - Create a special effect at TempPoint using Doodads\Cityscape\Props\CityGrave\CityGrave3.mdl
Wait 6.00 game-time seconds
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at TempPoint using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
Unit - Create 1 . Skeletal Mage for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees
Hero - Set (Last created unit) Hero-level to HeroLvl , Hide level-up graphics
Special Effect - Destroy (Last created special effect)
Set Variable Set TempUnit = (Last created unit)
Unit - Add a 6.00 second Generic expiration timer to TempUnit2
-------- Turning On Trigger 2 --------
Trigger - Turn on Skeletal_Tribute_Summon <gen>
Trigger - Run Skeletal_Tribute_Summon <gen> (checking conditions)
Custom script: call RemoveLocation(udg_TempPoint)
summons skeletal minions upon death of a footman.
Skeletal Tribute Summon
Events
Unit - A unit owned by Player 2 (Blue) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to Footman
Actions
-------- Summoning Skeletal Minions --------
Set Variable Set TempPoint2 = (Position of (Dying unit))
Special Effect - Create a special effect at TempPoint2 using Doodads\LordaeronSummer\Props\PeasantGrave\PeasantGrave2.mdl
Wait 3.00 game-time seconds
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at TempPoint2 using Abilities\Spells\Undead\RaiseSkeletonWarrior\RaiseSkeleton.mdl
Unit - Create 1 . Skeletal Minion for (Owner of (Killing unit)) at TempPoint2 facing Default building facing degrees
Special Effect - Destroy (Last created special effect)
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.