• 🏆 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!

Need Help With My Spell

Status
Not open for further replies.
Level 2
Joined
Apr 15, 2008
Messages
17
Hey i need help with my a custom spell im trying to make. I can't manage to get it to do any damage. Its an AOE (Area Of Effect) but when it finally finishes, it doesn't do any damage to the units inside. Any suggestions?
I uploaded a few screenshots of the trigger cause i dont know how to do that cool trigger box thing everyone else does to display their triggers. Hopefully you can tell me how to do that too. But this is mainly about my spell. Any assistance would be GREATLY appreciated. Thank you

  • Blinding Blaze
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Blinding Blaze
    • Actions
      • Set BB_Caster = (Casting unit)
      • Set BB_Victim = (Region centered at (Target point of ability being cast) with size (300.00, 300.00))
      • Unit - Pause (Casting unit)
      • Unit - Make (Casting unit) Invulnerable
      • Special Effect - Create a special effect attached to the weapon of BB_Caster using Abilities\Weapons\snapMissile\snapMissile.mdl
      • Animation - Play BB_Caster's attack animation
      • Unit - Create 1 Eye for (Owner of (Casting unit)) at ((Center of BB_Victim) offset by (300.00, 0.00)) facing (Center of BB_Victim)
      • Set Eyes[1] = (Last created unit)
      • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Items\VampiricPotion\VampPotionCaster.mdl
      • Set eyeseffect[1] = (Last created special effect)
      • Unit - Create 1 Eye for (Owner of (Casting unit)) at ((Center of BB_Victim) offset by (-300.00, 0.00)) facing (Center of BB_Victim)
      • Set Eyes[2] = (Last created unit)
      • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Items\VampiricPotion\VampPotionCaster.mdl
      • Set eyeseffect[2] = (Last created special effect)
      • Unit - Create 1 Eye for (Owner of (Casting unit)) at ((Center of BB_Victim) offset by (0.00, 300.00)) facing (Center of BB_Victim)
      • Set Eyes[3] = (Last created unit)
      • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Items\VampiricPotion\VampPotionCaster.mdl
      • Set eyeseffect[3] = (Last created special effect)
      • Unit - Create 1 Eye for (Owner of (Casting unit)) at ((Center of BB_Victim) offset by (0.00, -300.00)) facing (Center of BB_Victim)
      • Set Eyes[4] = (Last created unit)
      • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Items\VampiricPotion\VampPotionCaster.mdl
      • Set eyeseffect[4] = (Last created special effect)
      • Unit Group - Add all units of (Units in BB_Victim) to BB_victimgroup
      • Unit Group - Pick every unit in BB_victimgroup and do (Unit - Pause (Picked unit))
      • Unit Group - Pick every unit in BB_victimgroup and do (Unit - Make (Picked unit) Invulnerable)
      • Wait 2.00 seconds
      • Special Effect - Create a special effect at ((Center of BB_Victim) offset by (300.00, 150.00)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
      • Special Effect - Create a special effect at ((Center of BB_Victim) offset by (250.00, 200.00)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
      • Special Effect - Create a special effect at ((Center of BB_Victim) offset by (200.00, 250.00)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
      • Special Effect - Create a special effect at ((Center of BB_Victim) offset by (150.00, 300.00)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
      • Special Effect - Create a special effect at ((Center of BB_Victim) offset by (300.00, -150.00)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
      • Special Effect - Create a special effect at ((Center of BB_Victim) offset by (250.00, -200.00)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
      • Special Effect - Create a special effect at ((Center of BB_Victim) offset by (200.00, -250.00)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
      • Special Effect - Create a special effect at ((Center of BB_Victim) offset by (150.00, -300.00)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
      • Special Effect - Create a special effect at ((Center of BB_Victim) offset by (-150.00, 300.00)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
      • Special Effect - Create a special effect at ((Center of BB_Victim) offset by (-200.00, 250.00)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
      • Special Effect - Create a special effect at ((Center of BB_Victim) offset by (-250.00, 200.00)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
      • Special Effect - Create a special effect at ((Center of BB_Victim) offset by (-300.00, 150.00)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
      • Special Effect - Create a special effect at ((Center of BB_Victim) offset by (-150.00, -300.00)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
      • Special Effect - Create a special effect at ((Center of BB_Victim) offset by (-200.00, -250.00)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
      • Special Effect - Create a special effect at ((Center of BB_Victim) offset by (-250.00, -200.00)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
      • Special Effect - Create a special effect at ((Center of BB_Victim) offset by (-300.00, -150.00)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
      • Wait 2.00 seconds
      • Special Effect - Create a special effect at (Center of BB_Victim) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
      • Set BB_trap[1] = (Last created special effect)
      • Special Effect - Create a special effect at (Random point in BB_Victim) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
      • Set BB_trap[2] = (Last created special effect)
      • Special Effect - Create a special effect at (Random point in BB_Victim) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
      • Set BB_trap[3] = (Last created special effect)
      • Special Effect - Create a special effect at (Random point in BB_Victim) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
      • Set BB_trap[4] = (Last created special effect)
      • Special Effect - Create a special effect at (Random point in BB_Victim) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
      • Set BB_trap[5] = (Last created special effect)
      • Special Effect - Create a special effect at (Random point in BB_Victim) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
      • Set BB_trap[6] = (Last created special effect)
      • Special Effect - Create a special effect at (Random point in BB_Victim) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
      • Set BB_trap[7] = (Last created special effect)
      • Special Effect - Create a special effect at (Random point in BB_Victim) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
      • Set BB_trap[8] = (Last created special effect)
      • Special Effect - Create a special effect at (Random point in BB_Victim) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
      • Set BB_trap[9] = (Last created special effect)
      • Special Effect - Create a special effect at (Random point in BB_Victim) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
      • Set BB_trap[10] = (Last created special effect)
      • Special Effect - Create a special effect at (Random point in BB_Victim) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
      • Set BB_trap[11] = (Last created special effect)
      • Special Effect - Create a special effect at (Random point in BB_Victim) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
      • Set BB_trap[12] = (Last created special effect)
      • Special Effect - Create a special effect at (Random point in BB_Victim) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
      • Set BB_trap[13] = (Last created special effect)
      • Special Effect - Create a special effect at (Random point in BB_Victim) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
      • Set BB_trap[14] = (Last created special effect)
      • Special Effect - Create a special effect at (Random point in BB_Victim) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
      • Set BB_trap[15] = (Last created special effect)
      • Wait 3.00 seconds
      • Special Effect - Destroy BB_trap[1]
      • Special Effect - Destroy BB_trap[2]
      • Special Effect - Destroy BB_trap[3]
      • Special Effect - Destroy BB_trap[4]
      • Special Effect - Destroy BB_trap[5]
      • Special Effect - Destroy BB_trap[6]
      • Special Effect - Destroy BB_trap[7]
      • Special Effect - Destroy BB_trap[8]
      • Special Effect - Destroy BB_trap[9]
      • Special Effect - Destroy BB_trap[10]
      • Special Effect - Destroy BB_trap[11]
      • Special Effect - Destroy BB_trap[12]
      • Special Effect - Destroy BB_trap[13]
      • Special Effect - Destroy BB_trap[14]
      • Special Effect - Destroy BB_trap[15]
      • Unit - Create 1 BBBoom for (Owner of BB_Caster) at (Center of BB_Victim) facing Default building facing degrees
      • Wait 0.75 seconds
      • Unit Group - Pick every unit in BB_victimgroup and do (Unit - Make (Picked unit) Vulnerable)
      • Unit Group - Pick every unit in (Units in BB_Victim) and do (Unit - Cause BB_Caster to damage (Picked unit), dealing (Real((Intelligence of BB_Caster (Include bonuses)))) damage of attack type Chaos and damage type Fire)
      • Unit - Remove (Last created unit) from the game
      • Special Effect - Destroy eyeseffect[1]
      • Special Effect - Destroy eyeseffect[2]
      • Special Effect - Destroy eyeseffect[3]
      • Special Effect - Destroy eyeseffect[4]
      • Unit - Explode Eyes[1]
      • Unit - Explode Eyes[2]
      • Unit - Explode Eyes[3]
      • Unit - Explode Eyes[4]
      • Unit Group - Pick every unit in BB_victimgroup and do (Unit - Unpause (Picked unit))
      • Unit - Unpause (Casting unit)
      • Unit - Make (Casting unit) Vulnerable
      • Custom script: set udg_BB_Caster = null
 
Last edited:
Level 2
Joined
Apr 15, 2008
Messages
17
Woop, nevermind. I figured it out while trying to make another skill LOL. Just had to change the
Unit Group - Pick every unit in (Units in BB_Victim) and do (Unit - Cause BB_Caster to damage (Picked unit), dealing (Real((Intelligence of BB_Caster (Include bonuses)))) damage of attack type Chaos and damage type Fire)

and change it to

Unit- Damage area
 
Status
Not open for further replies.
Top