hey there,
the following trigger is supposed to make unit A cast a storm bolt based spell, and instantly remove unit A and move unit B to the point of the target of the ability.
when I have the "event" as "starts the effect" - all of the actions occur, but unit A never completes casting the spell. when I have the event "finishes casting", everything works except for moving unit B. unit B stays in it's previous location.
before I go and retrigger things to work around this (dummy caster etc') is there some easy fix? did I miss something simple?
the following trigger is supposed to make unit A cast a storm bolt based spell, and instantly remove unit A and move unit B to the point of the target of the ability.
when I have the "event" as "starts the effect" - all of the actions occur, but unit A never completes casting the spell. when I have the event "finishes casting", everything works except for moving unit B. unit B stays in it's previous location.
before I go and retrigger things to work around this (dummy caster etc') is there some easy fix? did I miss something simple?
-
profile storm bolt
-

Events
-


Unit - A unit Finishes casting an ability
-
-

Conditions
-


((Triggering unit) is in CritterGroup) Equal to True
-


(Ability being cast) Equal to Shocking Reveal
-
-

Actions
-


Set TempPoint = (Position of (Target unit of ability being cast))
-


Set TempUnit = (Triggering unit)
-


Set CV = (Custom value of TempUnit)
-


Unit - Move ProfileCaster[CV] instantly to TempPoint, facing (Facing of TempUnit) degrees
-


Animation - Change ProfileCaster[CV]'s size to (100.00%, 100.00%, 100.00%) of its original size
-


Unit - Unpause ProfileCaster[CV]
-


Unit - Make ProfileCaster[CV] Vulnerable
-


Unit Group - Remove ProfileCaster[CV] from ProfileHero
-


Unit - Remove TempUnit from the game
-


Special Effect - Create a special effect at TempPoint using Abilities\Spells\Human\Polymorph\PolyMorphTarget.mdl
-


Custom script: call RemoveLocation (udg_TempPoint)
-
-

thanks!


