• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Minimum range to spells?

Status
Not open for further replies.
Level 2
Joined
Sep 7, 2009
Messages
19
Hey, im making this spell, you pick a location and leaps towards it (no help needed for that :grin:) ... but i want the spell to have some kind a minimum range...

Are there any way to force the "Target is within minimum range" - popup-error? via triggers (gui/jass dosent matter)
I DONT want to have it popup as a text like this:

  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to [AbilityNAME]
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Distance between (Position of (Triggering unit)) and (Target point of ability being cast)) Greater than or equal to 800.00
      • Then - Actions
        • Action - [ANY SPELL ACTION]
      • Else - Actions
        • Game - Display to (All players) the text: [Target is within minimum range!]
        • Action - [ANY ACTION]
or
is it possible to add minimum range to a spell in any other way?

I cant figure it out and it's making me mad! :vw_wtf:
can anyone help me? :wink:
 
Last edited:
You could use blink as the spell and basically cut off the blinking part by stopping it or just moving the unit back right away. Blink is the only spell I can remember with a minimum range.

And please use the standard font size. :)
 
Status
Not open for further replies.
Back
Top