QUOTE(Trinak @ Mar 1 2006, 04:05 PM)
Here's pretty much what I want to happen. Protoss base with photon cannons. If any cannon dies and the pylon powering it is still alive respawn the cannon in the same spot in X amount of seconds.
[right][snapback]437225[/snapback][/right]
You can do it like this i think...
Conditions'Current Player' commands exactly '1 pylon'
'Current Player' brings '0 cannon' to 'location'
ActionsCreate '1 cannon' at 'location'
Preserve trigger
Remember the location size has to be the same size as the cannon(2x2 if i remember corretly) or else you'll get the unit inplacement warning ingame.