Order after Polymorph

Derek0

New Member
Reaction score
1
I am having some trubble. I changed polymorph to work on heroes (yes I know I could've used hex). Now, I have a basic NPC AI on my map. The problem is, when I tell them to attack-move, and they get polymorphed, their attack-move order becomes viod and they just stand there while the others push. I was wondering if there was any way to rig an event so that it happehs when polymorph wears off on a unit so I can re-order him/her to attack-move. If not, is there any other way to fix this?
 

martix

There is no spoon
Reaction score
49
А unit begins the effect of an ability
Ability=hex
Wait # sec
Order target unit of ability to do whatever
 
V

Vaerin

Guest
If Polymorph is an ability with one level, you could make something like

Event - Unit Begins the effect of an ability

Condition - Ability is equal to polymorph equal to true

Action - Wait (length of polymorph)
Order Unit to Attack Move to Center of Region.

Of course, if it has more than one level, I don't know how to help you.
 
M

Masterfrog

Guest
what martix wrote is close, but you would need to save the last order for that unit in a variable and then reapply it after teh poly. Alternatively, if the above doesn't work (there's quite the chance) you can order the unit to do the same order as the closest allied unit is doing after the poly
 

Derek0

New Member
Reaction score
1
Why didn't I think of that? Add a wait after that event. Oh well, thanks a bunch. :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top