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

Spell won't work

Status
Not open for further replies.
Level 7
Joined
Nov 13, 2007
Messages
244
Well the spell is supposed to be like an illusion of a circle of mirror images rotationg but it wont work heres the trigger i have done:


  • chidori toushand birds improvd
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Custom Chidori
    • Actions
      • Wait 1.00 seconds
      • Unit - Pause (Target unit of ability being cast)
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 25.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 50.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 75.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 100.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 125.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 150.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 175.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 200.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 225.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 250.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 275.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 300.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Wait 1.00 seconds
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 100.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 200.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 300.00 towards 25.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 400.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 500.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Wait 1.00 seconds
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 45.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 90.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 135.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 170.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 215.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 255.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Special Effect - Create a special effect at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 300.00 degrees) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Wait 1.00 seconds
      • Unit - Unpause (Target unit of ability being cast)
 
Level 10
Joined
Sep 6, 2007
Messages
440
Why dont you use a loop. Make it a loop to 1 and 12. Then make only ONE special effect on that loop, only changing the offset to 30. Then put another wait and start another loop. Then make it a loop starting from 1 to <THE RATIO BETWEEN THE 360 AND YOUR DESIRED ANGLE> I think it has to be an integer. And so on.
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
Short thing:
  • For each Integer A from 0 to 9 do:
    • Set x = x + 36
    • Set targloc[Integer A] = position of (target unit of ability being cast) offset by 100 towards x degrees
    • Create 1 dummy_illusion at targloc[Integer A] for owner of (casting unit) facing target point of ability being cast
At the end of the loop set
  • x = 0
Shall be not too hard using the mirror images as units and i'm sure it looks cool when they face the target ^^
and
  • Custom Script: call RemoveLocation(targloc[ForLoopAIndex])
 
Status
Not open for further replies.
Top