• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Custom Spell Wont Work

Status
Not open for further replies.
Level 9
Joined
Jan 23, 2008
Messages
384
Ok ! the formula looks ok ... here is a trigger that will help you test it ... and 1 more thing ... try using variables ... my trigger still lacks a lot ... :

  • Trigger
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Thunder Clap
    • Actions
      • Set Unit_group = (Units within (200.00 + (100.00 x (Real((Level of Thunder Clap for (Triggering unit)))))) of (Position of (Triggering unit)) matching ((Owner of (Picked unit)) Equal to (Random player from (All enemies of (Owner of (Triggering unit))))))
      • Unit Group - Pick every unit in Unit_group and do (Actions)
        • Loop - Actions
          • Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Other\Monsoon\MonsoonBoltTarget.mdl
 
Level 17
Joined
Jun 12, 2007
Messages
1,261
Yeh, well I tested it before.
But when I cast this, units removed far from the AoE region will get the spell effect, I only want to give it to the units inside the region >< .
So I think my formula is wrong somewhere..

Does WC3 follow the rules of math btw? Like x has higher priority then + and - ?
 
Status
Not open for further replies.
Top