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

[Solved] Summoning Corpses

Status
Not open for further replies.
Level 14
Joined
Nov 4, 2006
Messages
1,241
if you want the spell to be point target it would be sth like this:


Edit: figured i should do it properly, so here you go:
As a dummy ability it's probably best to use "Channel"

  • Create corpse
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Raise Dead
    • Actions
      • Set VariableSet temppoint = (Target point of ability being cast)
      • Unit - Create a Footman corpse for (Owner of (Triggering unit)) at temppoint
      • Custom script: call RemoveLocation(udg_temppoint)
Edit2: made a demo map with two versions, one with point target, one with random point around the caster
 

Attachments

  • create corpse.w3m
    17.8 KB · Views: 24
Last edited:
Level 7
Joined
May 28, 2011
Messages
101
if you want the spell to be point target it would be sth like this:


Edit: figured i should do it properly, so here you go:
As a dummy ability it's probably best to use "Channel"

  • Create corpse
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Raise Dead
    • Actions
      • Set VariableSet temppoint = (Target point of ability being cast)
      • Unit - Create a Footman corpse for (Owner of (Triggering unit)) at temppoint
      • Custom script: call RemoveLocation(udg_temppoint)
Edit2: made a demo map with two versions, one with point target, one with random point around the caster
I finally made it work for me. Thank you a lot
 
Status
Not open for further replies.
Top