• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

spell request

Status
Not open for further replies.
Level 5
Joined
Aug 25, 2010
Messages
120
Hy!

I need edit a spell, the anti-magic shell, i want to use it only to the caster, so i don't want to select target, after i push the spell's activate button, like the divine shield. Is it possible, and how?
 
Level 5
Joined
Sep 1, 2010
Messages
168
There should be 2 ways:
a) Modify the ability: use the target selection, only mark 'self' and your effect could do what you want.
If this doesn't lead to your desired result, make a dummy ability (e.g. based on your divine shield) and a trigger that detects 'starts the effect of an ability' (your dummy).
Create a dummy unit and let this dummy cast the actual ability you want.

If this is too fuzzy for you, just ask :) I don't bite (not before midnight :grin: )
 
Level 5
Joined
Aug 25, 2010
Messages
120
Ok i'm interested at the second solution. I'm not the best in triggering, so i need your help:p if you have time to help.
thanx
 
Level 5
Joined
Sep 1, 2010
Messages
168
Test map attached.
You can test whetther you get damage from the docs or the soldier when shield is activated ;)
Just take a look at the triggers and the sutom made units... it's mostly self-explanatory. All calls of custom functions are to remove leaks; have nothing to do with the ability itself (the 2 variables in the map are only needed to catch these leaks :fp: ).
 

Attachments

  • dummy unit cast.w3x
    14.6 KB · Views: 64
Status
Not open for further replies.
Top