HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Rebuilding in specific regions

07-02-2004, 12:22 PM#1
Panzer_Fusion
In this map I am making, whenever one of your towers are destroyed, I want the enemy to replace it with their own. I have all the towers in their own little regions, but I can't figure out how to build enemy towers (or a different building for that matter) in the region where the tower was...

any help would be appreciated thanks!
07-02-2004, 12:52 PM#2
th15
Eh what? Try something like this...
Code:
Event:
Unit dies

Condition:
Unit is in XXX rect

Action:
Replace dying unit with unit type of dying unit
Change ownership of last replaced unit to owner of killing unit
07-02-2004, 03:18 PM#3
Fladian
Isn't it just like this?

Event:
Unit Dies

Action:
Create ?unit? at place of dying unit
07-02-2004, 03:45 PM#4
Panzer_Fusion
thanks, I will try this, but I'm trying to have them be in the same location and the first trigger looks to me like it needs a unit type = tower condition, but yeah. Oh and I don't want a direct replacement per se, but a build time (10 sec) so if the player is good they can get their tower back before the enemy tower spawns.

^_^

Thanks
07-03-2004, 07:19 AM#5
Ninja73
Its alot harder with a bunch of regions, just edit circle of power so u can build over it, then give circle of power locast ability, summon ability, and give the model to tree of life upgrade ability which looks like nothing. Then when the unit dies, just create the circle of power at the position of dieing unit, then order the last created unit (circle of power) to construct the same tower type at the position of the circle of power, then remove the circle of power. This will make it so that the tower will b summoned by an invisible unselectavble unit at the same position, then u can change the towers build time to like 10 seconds. Its long, but its still better than doing 30 triggers of 30 regions for 30 towers.
07-04-2004, 12:25 PM#6
Panzer_Fusion
Quote:
Originally Posted by Ninja73
Its alot harder with a bunch of regions, just edit circle of power so u can build over it, then give circle of power locast ability, summon ability, and give the model to tree of life upgrade ability which looks like nothing. Then when the unit dies, just create the circle of power at the position of dieing unit, then order the last created unit (circle of power) to construct the same tower type at the position of the circle of power, then remove the circle of power. This will make it so that the tower will b summoned by an invisible unselectavble unit at the same position, then u can change the towers build time to like 10 seconds. Its long, but its still better than doing 30 triggers of 30 regions for 30 towers.

yeal lol! Actually it would have been (does some quick math) 48 regions. Ill try, but your method looks very complicated. Maybe

Because

THere aren't

Enough Spaces. Ill PM you if I have any questions. Thankyou! :D