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

Blink + Pathing Blockers

Status
Not open for further replies.
Level 28
Joined
Mar 25, 2008
Messages
2,955
Well here's my problem..
I have regions surrounded by pathing blockers.
Now i want to make units be able to use 'blink' (whether triggered or not) INSIDE the region but not to be able to blink outside the region
like:

Code:
---------------------------
| Unit -> blink -> target |
|                         |
---------------------------
and not
Code:
--------------------
| Unit -> blink -> | target
|                  |
--------------------
Is that possible somehow?
 
Level 8
Joined
Jul 22, 2008
Messages
331
only one way!!!

create une more custom blink with 0(zero) range and when your unit is in region
sorounded by pathing blockers just use this
  • Unit - remove blink from entering unit
  • Unit - add (your custom blink to Entering unit)
Just create the same blink with only range modified. then user won't even see
that you've changed an ability
 
Level 14
Joined
Nov 4, 2006
Messages
1,241
i don't know if it works but maybe sth like this:

  • Events
    • Unit - a Unit starts casting an ability
  • Conditions
    • ability being cast equal to blink
  • Actions
    • if triggering unit is in your region and target point of ability being cast is not in your region order unit to stop
i don't know if it will be moved before the trigger fires, if it does save the point of your unit every second or something and move it back to that position, might cause some problems maybe but i can't think of another way
 
Status
Not open for further replies.
Top