L
lazarusxl
Guest
when a hero casts entangling roots on a creep (in a TD) that has been ordered to move to the next waypoint (region) it does not move again when the entangling roots are over.
I already had this trigger:
event: unit ordered a target with no order
conditon: order equal to stop
action: move triggering unit to Center of End Goal.
this trigger does work, but it doesn't work with entangle.
I found this solution:
event: unit begins casting an ability
condition: ability being cast equal to Entangling Roots
action: add target unit of ability being cast to unit group stuckUnits
event: every 1 second of game time
action: pick every unit in stuckUnits and do unit - move to Center of End Goal
DOES NOT WORK! :banghead:
I changed the trigger to this:
event: unit begins casting an ability
condition: ability being cast equal to Entangling Roots
action: wait 15.10 seconds
game - display to player 1 red the text "the name of the target unit = "+name of (target unit of ability being cast)
move target unit of ability being cast to Center of End Goal
In the game it (only) prints: "the name of the target unit = "
and the targeted unit doesn't move.
HELL!
Only Entangling Roots seems to have this problem. After Sleep, Arial Shackles, Bash and Web the targeted units are being recognised as 'units issued an order with no target" or just normally resume their way.
I already had this trigger:
event: unit ordered a target with no order
conditon: order equal to stop
action: move triggering unit to Center of End Goal.
this trigger does work, but it doesn't work with entangle.
I found this solution:
event: unit begins casting an ability
condition: ability being cast equal to Entangling Roots
action: add target unit of ability being cast to unit group stuckUnits
event: every 1 second of game time
action: pick every unit in stuckUnits and do unit - move to Center of End Goal
DOES NOT WORK! :banghead:
I changed the trigger to this:
event: unit begins casting an ability
condition: ability being cast equal to Entangling Roots
action: wait 15.10 seconds
game - display to player 1 red the text "the name of the target unit = "+name of (target unit of ability being cast)
move target unit of ability being cast to Center of End Goal
In the game it (only) prints: "the name of the target unit = "
and the targeted unit doesn't move.
HELL!


