Tracking a unit's every action

trigger_newb

Active Member
Reaction score
3
Is there a way to track a unit's every action and have another unit follow his procedures shortly after?

I'm trying to make a spell where, a locust dummy unit is summoned and it copies every exact move the triggering unit does

i have a few triggers that only track some of its abilities, but ill post it later when i have time
thx in advanced
 

Skippy

Active Member
Reaction score
39
There's no direct way, you have to trigger each action individually.
Like:
When unit attacks, attack too.
When unit moves, move too.
When unit casts X spell, cast X spell too.
etc
 

hgkjfhfdsj

Active Member
Reaction score
55
you can try tracking when the unit is issued an order /acquires a target then issue order to the dummy
 

Bogrim

y hello thar
Reaction score
154
Yes, there is a way but it's also difficult. You want a trigger with "A unit is issued an order" events of every type, and then issue the same order to your duplicate unit.

The difficult part is determinating the order "smart". Smart handles multiple orders, so you have to filter out which order was given. If the order is smart and targets a friendly unit, then it's a follow order. If the order is smart and targets an enemy unit, then it's an attack order. If there is no friendly or enemy unit, it's a move order.
 
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