[Solved] Special effect on constructed structure issue

I'm making a tower defense map with upgradable towers.

I made a trigger to do a special effect when the base tower finishes construction - which works fine. I put the event as 'unit finishes construction' and the condition as 'unit type of constructed structure equal to blah blah blah'. I set the special effect as at the position of constructed structure. Works fine

But when I copied the trigger and just changed the unit type to one of the upgraded towers, it doesn't work. The special effect does not play. Any insights?
 

Attachments

  • ThisTriggerWorks.png
    ThisTriggerWorks.png
    10.8 KB · Views: 64
  • ThisOneDoesnt.png
    ThisOneDoesnt.png
    12.5 KB · Views: 61
Do you build the hellfire marine directly with a worker or do you upgrade it from another tower like scout tower -> guard toward? In this case the event would be "finishes an upgrade" and you refer to it with triggering unit
I upgrade it from another tower. I just tried your advice and it works! Thank you very much.

I did think it was something to do with the 'finishes an upgrade' event but I didn't know what to use it with since there wasn't an 'upgraded/upgrading unit' condition.
 
I wanted to do a special effect for when the upgrade is canceled, and so I copied the trigger and just changed the event to 'a unit cancels upgrade' but it didn't work. I added the condition of the unit being the base unit before the upgrade, and it worked. So in my example, to make an effect play when the Hellfire Marine is canceled, the triggering unit should be the Space Marine, not the Hellfire Marine. Thought I'd share that discovery if anyone else is attempting the same thing.
 
Back
Top