Warden Blink... how to make her not blink in certain areas..

Noritox

New Member
Reaction score
0
Okay I'm having a problem...

How can I make it so that when a hero is created it instantly goes to the town hall?

This is the trigger I use right now

Event
Unit - A unit enters Hero Select <gen>
Conditions
((Entering unit) is A Hero) Equal to True
Actions
Unit - Move (Entering unit) instantly to hero_spawn[(Player number of (Owner of (Entering unit)))]
Camera - Pan camera for (Owner of (Entering unit)) to hero_spawn[(Player number of (Owner of (Entering unit)))] over 0.00 seconds

Is there a way to do this without using regions?

I'm trying to make it so the warden can't blink to the hero taverns. Right now she can blink to them but instantly teleported to her town hall, this is pretty unfair as she can just use that to leave a battle when she has low health..

I'd like to make it so if she does go to the hero taverns she'll be killed, but how can I do this without other heros dieing when they are trained?

Or maybe there is a way to make her blink not go on ledges.

Thanks
 

Tzepesch

New Member
Reaction score
1
Or even better, If a unit is not equel to something allowed in there, teleport them to trigggering players startpoint.
 

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
Code:
Untitled Trigger 002
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Blink
    Actions
        Set p = (Target point of ability being cast)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Region 000 <gen> contains p) Equal to True
            Then - Actions
                Unit - Order (Triggering unit) to Stop // Or Kill Triggering Unit!
                Game - Display to (Player group((Owner of (Triggering unit)))) the text: Unable to blink the...
            Else - Actions
        Custom script:   call RemoveLocation(udg_p)
 

Kazuga

Let the game begin...
Reaction score
110
Make custom blink? It's not really risk for any lagg or anything since all you need is 3 actions.
1: Set variable point
2: Move unit to the point
3: Destroy the point
 

Builder Bob

Live free or don't
Reaction score
249
ManyTimes' trigger should work to stop her from teleporting.

Edit: I did some testing, and couldn't reproduce the result where you see the text, but can still blink there.
Maybe you could post a demo map?

(triggering unit)/(casting unit) shouldn't make a difference.
 

XxShadyxX

I abused the rep system.
Reaction score
81
yes it does casting unit can get over written
anyway the command stop doesnt work
use manytimes trigger and instead of stop do issue order to move to playersstart location here ill make a demo map for you
 

Emu.Man00

New Member
Reaction score
41
yes it does casting unit can get over written
anyway the command stop doesnt work
use manytimes trigger and instead of stop do issue order to move to playersstart location here ill make a demo map for you

couldn't u just order it to move to position of itself, in theory that wud basicly just simulate stop :S
 

Builder Bob

Live free or don't
Reaction score
249
There's nothing wrong with stop.

Here you go. I've placed the region where you can't blink over the rocky area.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> yes it does casting unit can get over written
> anyway the command stop doesnt work

Actually, the trigger from post #4 works just fine. With either "triggering unit" or "casting unit".


> I used that trigger ...

Hm... care to post your version of it? Just to see.
 

Emu.Man00

New Member
Reaction score
41
Does stop not work at all or does it just not cancel the blink? cause in some situations making a melee unit hold position might affect the gameplay :S
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top