Tendril Wrap
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to [r] Tendril Wrap (main Skill)
Actions
Set TW_temppoint[1] = (Position of (Triggering unit))
Set TW_temppoint[2] = ((Position of (Triggering unit)) offset by 250.00 towards (Facing of (Triggering unit)) degrees)
Set TW_tempgroup = (Units within 400.00 of (Position of (Triggering unit)) matching ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and (((Matching unit) is alive) Equal to True)))
Unit Group - Pick every unit in TW_tempgroup and do (Actions)
Loop - Actions
Set TW_pickedunits = (Number of units in TW_tempgroup)
Unit - Move (Picked unit) instantly to TW_temppoint[2]
Unit - Create TW_pickedunits Tendril Wrap Dummy for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing (Facing of (Triggering unit)) degrees
Set TW_unit[TW_pickedunits] = (Last created unit)
Unit - Add Tendril Wrap to TW_unit[TW_pickedunits]
Unit - Set level of Tendril Wrap for TW_unit[TW_pickedunits] to (Level of [r] Tendril Wrap (main Skill) for (Triggering unit))
Unit - Order TW_unit[TW_pickedunits] to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
Unit - Add a 3.00 second Generic expiration timer to TW_unit[TW_pickedunits]
Custom script: call DestroyGroup(udg_TW_tempgroup)
Custom script: call RemoveLocation(udg_TW_temppoint[1])
Custom script: call RemoveLocation(udg_TW_temppoint[2])
what's wrong here?
I want all of the picked units to be entangled and also remove the dummy,
what happened here is...all the picked units got entangled but the dummies aren't removed...help...