• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

making summons cast spells

Status
Not open for further replies.
Level 2
Joined
Sep 30, 2007
Messages
20
the spell is like this: i shoot a dummy projectile, and it spawns 3 mobs,
they have drain life like spell, and are ordered to Dark Ranger - Drain Life the target... but they dont, why?
 
Level 2
Joined
Sep 30, 2007
Messages
20
w00t

they are supposed to drain the target, by now they just stand there and do nothing... and it can only target heroes so...
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
You know
<Trigger Name> -> right click and copy as text
---Events
------blabal
---Conditions
------blabalbal
etc etc etc

[Trigger]<paste the coppied text>[/trigger]
 
Level 2
Joined
Sep 30, 2007
Messages
20
Everything
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to en spell sak
Actions
Set DrainTarget = (Target unit of ability being cast)
Unit - Create 1 Demon of Anything for (Owner of (Casting unit)) at ((Position of DrainTarget) offset by 500.00 towards 90.00 degrees) facing (Position of DrainTarget)
Set Demon001 = (Last created unit)
Special Effect - Create a special effect at (Position of Demon001) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Unit - Add a 10.00 second Generic expiration timer to Demon001
Wait 0.25 seconds
Unit - Create 1 Demon of Everything for (Owner of (Casting unit)) at ((Position of DrainTarget) offset by 500.00 towards 220.00 degrees) facing (Position of DrainTarget)
Set Demon002 = (Last created unit)
Special Effect - Create a special effect at (Position of Demon002) using Abilities\Spells\Other\Charm\CharmTarget.mdl
Unit - Add a 10.00 second Generic expiration timer to Demon002
Wait 0.25 seconds
Unit - Create 1 Demon of Something for (Owner of (Casting unit)) at ((Position of DrainTarget) offset by 500.00 towards 300.00 degrees) facing (Position of DrainTarget)
Set Demon003 = (Last created unit)
Special Effect - Create a special effect at (Position of Demon003) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
Unit - Add a 10.00 second Generic expiration timer to Demon003
Wait 0.25 seconds
Unit - Order Demon001 to Neutral Dark Ranger - Life Drain DrainTarget
Unit - Order Demon002 to Neutral Dark Ranger - Life Drain DrainTarget
Unit - Order Demon003 to Neutral Dark Ranger - Life Drain DrainTarget
Wait 5.00 seconds
Unit - Create 1 Uther for Neutral Passive at (Position of DrainTarget) facing ((Position of DrainTarget) offset by 0.00 towards 270.00 degrees)
Set UtherPartybringer = (Last created unit)
Unit - Order UtherPartybringer to Human Mountain King - Thunder Clap
Floating Text - Create floating text that reads By the power of the... at (Position of UtherPartybringer) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
Set UtherChat = (Last created floating text)
Wait 0.25 seconds
Special Effect - Create a special effect at (Position of Demon001) using Abilities\Spells\NightElf\BattleRoar\RoarCaster.mdl
Unit - Explode Demon001
Wait 0.50 seconds
Special Effect - Create a special effect at (Position of Demon002) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Unit - Explode Demon002
Wait 0.50 seconds
Special Effect - Create a special effect at (Position of Demon003) using Abilities\Spells\Other\HowlOfTerror\HowlCaster.mdl
Unit - Explode Demon003
Floating Text - Destroy UtherChat
Wait 0.25 seconds
Floating Text - Create floating text that reads Oh Crap... above UtherPartybringer with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
Set UtherChat = (Last created floating text)
Animation - Change UtherPartybringer's size to (125.00%, 125.00%, 125.00%) of its original size
Wait 0.25 seconds
Animation - Change UtherPartybringer's size to (150.00%, 150.00%, 150.00%) of its original size
Wait 0.25 seconds
Animation - Change UtherPartybringer's size to (175.00%, 175.00%, 175.00%) of its original size
Wait 0.25 seconds
Animation - Change UtherPartybringer's size to (200.00%, 200.00%, 200.00%) of its original size
Wait 0.25 seconds
Animation - Change UtherPartybringer's size to (225.00%, 225.00%, 225.00%) of its original size
Wait 0.25 seconds
Animation - Change UtherPartybringer's size to (250.00%, 250.00%, 250.00%) of its original size
Wait 0.25 seconds
Animation - Change UtherPartybringer's size to (275.00%, 275.00%, 275.00%) of its original size
Wait 0.25 seconds
Animation - Change UtherPartybringer's size to (300.00%, 300.00%, 300.00%) of its original size
Wait 0.25 seconds
Floating Text - Destroy UtherChat
Special Effect - Create a special effect at (Position of UtherPartybringer) using Objects\Spawnmodels\Human\HumanLargeDeathExplode\HumanLargeDeathExplode.mdl
Set UtherVShimself = (Last created special effect)
Animation - Play UtherPartybringer's death animation
Wait 1.75 seconds
Unit - Remove UtherPartybringer from the game
Special Effect - Destroy UtherVShimself
 
Level 2
Joined
Sep 30, 2007
Messages
20
  • Everything
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to en spell sak
    • Actions
      • Set DrainTarget = (Target unit of ability being cast)
      • Unit - Create 1 Demon of Anything for (Owner of (Casting unit)) at ((Position of DrainTarget) offset by 500.00 towards 90.00 degrees) facing (Position of DrainTarget)
      • Set Demon001 = (Last created unit)
      • Special Effect - Create a special effect at (Position of Demon001) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
      • Unit - Add a 10.00 second Generic expiration timer to Demon001
      • Wait 0.25 seconds
      • Unit - Create 1 Demon of Everything for (Owner of (Casting unit)) at ((Position of DrainTarget) offset by 500.00 towards 220.00 degrees) facing (Position of DrainTarget)
      • Set Demon002 = (Last created unit)
      • Special Effect - Create a special effect at (Position of Demon002) using Abilities\Spells\Other\Charm\CharmTarget.mdl
      • Unit - Add a 10.00 second Generic expiration timer to Demon002
      • Wait 0.25 seconds
      • Unit - Create 1 Demon of Something for (Owner of (Casting unit)) at ((Position of DrainTarget) offset by 500.00 towards 300.00 degrees) facing (Position of DrainTarget)
      • Set Demon003 = (Last created unit)
      • Special Effect - Create a special effect at (Position of Demon003) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
      • Unit - Add a 10.00 second Generic expiration timer to Demon003
      • Wait 0.25 seconds
      • Unit - Order Demon001 to Neutral Dark Ranger - Life Drain DrainTarget
      • Unit - Order Demon002 to Neutral Dark Ranger - Life Drain DrainTarget
      • Unit - Order Demon003 to Neutral Dark Ranger - Life Drain DrainTarget
      • Wait 5.00 seconds
      • Unit - Create 1 Uther for Neutral Passive at (Position of DrainTarget) facing ((Position of DrainTarget) offset by 0.00 towards 270.00 degrees)
      • Set UtherPartybringer = (Last created unit)
      • Unit - Order UtherPartybringer to Human Mountain King - Thunder Clap
      • Floating Text - Create floating text that reads By the power of the... at (Position of UtherPartybringer) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
      • Set UtherChat = (Last created floating text)
      • Wait 0.25 seconds
      • Special Effect - Create a special effect at (Position of Demon001) using Abilities\Spells\NightElf\BattleRoar\RoarCaster.mdl
      • Unit - Explode Demon001
      • Wait 0.50 seconds
      • Special Effect - Create a special effect at (Position of Demon002) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
      • Unit - Explode Demon002
      • Wait 0.50 seconds
      • Special Effect - Create a special effect at (Position of Demon003) using Abilities\Spells\Other\HowlOfTerror\HowlCaster.mdl
      • Unit - Explode Demon003
      • Floating Text - Destroy UtherChat
      • Wait 0.25 seconds
      • Floating Text - Create floating text that reads Oh Crap... above UtherPartybringer with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
      • Set UtherChat = (Last created floating text)
      • Animation - Change UtherPartybringer's size to (125.00%, 125.00%, 125.00%) of its original size
      • Wait 0.25 seconds
      • Animation - Change UtherPartybringer's size to (150.00%, 150.00%, 150.00%) of its original size
      • Wait 0.25 seconds
      • Animation - Change UtherPartybringer's size to (175.00%, 175.00%, 175.00%) of its original size
      • Wait 0.25 seconds
      • Animation - Change UtherPartybringer's size to (200.00%, 200.00%, 200.00%) of its original size
      • Wait 0.25 seconds
      • Animation - Change UtherPartybringer's size to (225.00%, 225.00%, 225.00%) of its original size
      • Wait 0.25 seconds
      • Animation - Change UtherPartybringer's size to (250.00%, 250.00%, 250.00%) of its original size
      • Wait 0.25 seconds
      • Animation - Change UtherPartybringer's size to (275.00%, 275.00%, 275.00%) of its original size
      • Wait 0.25 seconds
      • Animation - Change UtherPartybringer's size to (300.00%, 300.00%, 300.00%) of its original size
      • Wait 0.25 seconds
      • Floating Text - Destroy UtherChat
      • Special Effect - Create a special effect at (Position of UtherPartybringer) using Objects\Spawnmodels\Human\HumanLargeDeathExplode\HumanLargeDeathExplode.mdl
      • Set UtherVShimself = (Last created special effect)
      • Animation - Play UtherPartybringer's death animation
      • Wait 1.75 seconds
      • Unit - Remove UtherPartybringer from the game
      • Special Effect - Destroy UtherVShimself
 
Status
Not open for further replies.
Top