So have a hero with the ability "pitch tent" using the pocket factory to spawn said tent. After pitching the tent, i want the ability removed, and the "pack tent" ability added, giving the unit the ability to move his tent aruond at will.
Problem is, if the event is "a unit finishes casting..." it's possible for the hero to pitch the tent, quickly issue an order like move, and have a tent, but not get the ability to pack it up (after all, he never finished casting).
If I change the event to "a unit begins casting..." Then for some reason I must issue my unit a stop order or i can't move him at all. If i have the trigger issue the stop order, then the tent never gets pitched.
If I chagne the event to "begins the effect of..." The tent never gets cast. The ability fires, but no tent. IdeaS?
EDIT: Adding a casting time to the ability doesn't help.
Problem is, if the event is "a unit finishes casting..." it's possible for the hero to pitch the tent, quickly issue an order like move, and have a tent, but not get the ability to pack it up (after all, he never finished casting).
If I change the event to "a unit begins casting..." Then for some reason I must issue my unit a stop order or i can't move him at all. If i have the trigger issue the stop order, then the tent never gets pitched.
If I chagne the event to "begins the effect of..." The tent never gets cast. The ability fires, but no tent. IdeaS?
EDIT: Adding a casting time to the ability doesn't help.