I'm probably just missing something simple.

El Muppo

New Member
Reaction score
0
So, I'm kind of new to triggers, althought I tend to play around with other game making programs. I've done a bunch of "easy" triggers (Generetic Hero Arena Spawn Thingys etc.) which means I will most probably understand what I'm doing, as long as I get the guidelines for it.

What I'm trying to make, is that when I summon a Unit (Ability-wise) I want the summoned unit to constanly follow the summoner (which means, I don't wan't you to be able to command it to walk elsewhere).
I still want it to be targetable (So I can't use Locust).

I would appreciate any type of help.

Thank you^^
 

Nenad

~Choco Coronet~ Omnomnom
Reaction score
137
Trigger:
  • Unit - Order Unit1 to Follow Unit2

That wouldn't work at all, you could select the unit and just give it another order, but it is the thing you need to do at the start.

Try using:
Trigger:
  • Untitled Trigger 001
    • Events
      • Player - Player 1 (Red) Selects a unit
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Footman
    • Actions
      • Selection - Clear selection for (Triggering player)


Or something similar to that. It's not perfect, but i don't know how to make it unselectable AND targatable, it's one or the other. ^^
 

Accname

2D-Graphics enthusiast
Reaction score
1,465
making it unselectable but still targetable is something for more experienced mappers.
it can only be done by an exploit of the way warcraft is working.

you would have to add the locust ability (which will grant alot of effects such as invulnerablity, being untargetable, unselectable, no pathing, etc) and remove it again.
however removing locust will NOT remove ALL effects which are given by the ability. the unit will still be unselectable but you can target it. it will have 0.00 collision but pathing, it will be vulnerable but wont show any hitpoint bar, etc,etc.
 

malfy

New Member
Reaction score
4
you couldnt do

Trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Is issued an order targeting a point
      • Unit - A unit Is issued an order targeting an object
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Follower
    • Actions
      • Unit Group - Order Follower to Follow (Summoner)


still be selectable but would not listen to the given orders? then just like make selection scale ultra small?
 

Ayanami

칼리
Reaction score
288
you couldnt do

Trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Is issued an order targeting a point
      • Unit - A unit Is issued an order targeting an object
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Follower
    • Actions
      • Unit Group - Order Follower to Follow (Summoner)


still be selectable but would not listen to the given orders? then just like make selection scale ultra small?

That will cause a crash to occur. The order you're giving will fire the event again. In this case, you'll have to do it this way.

Trigger:
  • Trigger
    • Events
      • Unit - A unit Is issued an order targeting an object
      • Unit - A unit Is issued an order targeting a point
      • Unit - A unit Is issued an order with no target
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • And - All (Conditions) are true
            • Conditions
              • (Unit-type of (Triggering unit)) Equal to Follower
              • (Unit-type of (Target unit of issued order)) Equal to Caster
              • And - All (Conditions) are true
                • Conditions
                  • (Issued order) Equal to (Order(smart))
                  • (Issued order) Equal to (Order(move))
        • Then - Actions
        • Else - Actions
          • Unit - Order (Triggering unit) to Follow Caster
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top