• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

Triggering some corpse-using spells

Status
Not open for further replies.
Level 8
Joined
Apr 30, 2009
Messages
338
I have several spells on a hero that are no-target, instant cast which use a nearby corpse to raise a minion. I would like it to function so that the closest corpse within 720 range is used and if there are none, an error message appears and the spell isn't cast (no mana used or cooldown activated). To do the second part would I have to trigger a "Stop" command when the spell begins casting, or is there another way to get a hardcoded error?
 
Level 6
Joined
Sep 15, 2006
Messages
136
If you are making the spell with triggers the unic way to make a error menssage to appear is with triggering...

Something like two blocks of conditions. One is the correct where it meets the conditions and other where it doesn't and the message appear.
 
Status
Not open for further replies.
Top