• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

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:
Level 6
Joined
Dec 9, 2007
Messages
208
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.
Top