HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit self upgrade

03-18-2008, 11:25 PM#1
holyadvocate
I want to emulate the self upgrade "evolution" system from Bug Evolution, im messing around right now, but if someone could save me some time and frustration, that would be great
03-19-2008, 12:06 AM#2
Nuclear Arbitor
um, what are u looking for? all the script for one or how to do one?
03-19-2008, 12:25 AM#3
holyadvocate
I found it on my own, for those of you wondering what i did ill give you a run through


i used the base ability "charge gold and lumber" found in "abilities - neutral hostile - units"


i then used the trigger:

event:
a unit starts the effect of an ability

conditions:
name of ability being cast equal too "name of custom ability"

actions:
unit - pause "triggering unit"
wait 5.00 seconds
unit - replace "triggering unit" with "desired unit" using new units life and mana
03-19-2008, 01:46 AM#4
Rising_Dusk
I think in the map you're referring to, the mapmaker used typical scout tower -> guard tower upgrade method to make it work.
03-19-2008, 02:00 AM#5
holyadvocate
Quote:
Originally Posted by Rising_Dusk
I think in the map you're referring to, the mapmaker used typical scout tower -> guard tower upgrade method to make it work.

im not familiar with this method


i couldnt give any nonbuilding based units "upgrades too" fields if thats what you mean....


thats why i did this complicated thing
03-19-2008, 05:32 AM#6
Panto
The world editor isn't designed to let you alter that field for non-structure units. Nonetheless, you can do it. The simplest way is to change the "Is Structure" field to "true", change the "Upgrades To" field to your destination unit, and then change "Is Structure" back to false.