• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Spell] Making mui channel spell [help]

Status
Not open for further replies.
Level 1
Joined
Feb 14, 2012
Messages
2
Hi again. I need to make this spell to mui because my map have a same heroes version for that, all players must use this spell.

  • Start Channel
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Curse of Wrath Demon Hunter
    • Actions
      • Set Curse_Caster = (Triggering unit)
      • Set Curse_Loc = (Target point of ability being cast)
      • Trigger - Turn on Effect <gen>
  • Effect
    • Events
      • Time - Every 0.50 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units within 750.00 of Curse_Loc matching ((((Matching unit) belongs to an enemy of (Owner of Curse_Caster)) Equal to True) and (((Matching unit) is alive) Equal to True))) and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy Unit JFA for (Owner of Curse_Caster) at Curse_Loc facing Default building facing degrees
          • Unit - Add Curse of Wrath / dummy to (Last created unit)
          • Unit - Set level of Curse of Wrath / dummy for (Last created unit) to (Level of Curse of Wrath Demon Hunter for Curse_Caster)
          • Set Curse_Dum = (Last created unit)
          • Unit - Order Curse_Dum to Undead Banshee - Curse (Picked unit)
          • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
  • End Channel
    • Events
      • Unit - A unit Stops casting an ability
    • Conditions
      • (Ability being cast) Equal to Curse of Wrath Demon Hunter
    • Actions
      • Custom script: call RemoveLocation(udg_Curse_Loc)
      • Trigger - Turn off Effect <gen>

  • Destroy Dummy
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Curse of Wrath / dummy
    • Actions
      • Unit - Remove (Casting unit) from the game
i'll be happy if someone can help me.
 
Status
Not open for further replies.
Top