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

Status
Not open for further replies.
Level 2
Joined
May 30, 2008
Messages
7
Hello there =)

How do I make a spell that instantly kills all my units and enemy's units and summons X number of a certain unit (Zombie in this case)?

PLZ help =) I'll give rep :goblin_good_job:
 
Level 11
Joined
Nov 15, 2007
Messages
781
  • Trigger
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability type of (Ability being cast)) Equal to Your Ability
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Playable map area) and do (Actions)
        • Loop - Actions
          • Unit - Kill (Picked unit)
          • Set TempPoint = Position of (Picked unit)
          • Unit - Create 1 Zombie for Whoever at TempPoint facing Wherever
          • Custom script: call RemoveLocation(udg_TempPoint)
 
Status
Not open for further replies.
Top