• 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.

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
800
  • 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