HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help with Unit Editing...

07-06-2003, 12:09 AM#1
General Tekno
For this one building I'm making, the building is supposed to upgrade into another building, which has a movement height. However, when I go to upgrade it in the game, the movement height DOES NOT CHANGE!!! How can I fix this?
07-06-2003, 06:18 AM#2
Download
Quote:
Originally posted by General Tekno
For this one building I'm making, the building is supposed to upgrade into another building, which has a movement height. However, when I go to upgrade it in the game, the movement height DOES NOT CHANGE!!! How can I fix this?


Make the building train the building you want it to upgrade to, then create a trigger:

Event: Unit finishes training a unit
Condition: Unit type of trained unit equal to (UpgradedBuilding)
Action: Remove trained unit from the game
Action: Pick every unit in (UpgradingBuilding) and do Unit - replace picked unit with a (UpgradedBuilding)

You cant change certain things using upgrades, like armor, abilities and movement height.
07-06-2003, 08:51 AM#3
Voi
With triggers.


Events:
When a unit enters playable map area.

Conditions:
Unit-type of triggering unit equal to (the flying unit)

Actions:
Set the movement height of triggering unit to (which height you want)
07-06-2003, 09:35 AM#4
piRo-piOn
ground units cant have a movement hieght.
07-07-2003, 05:30 PM#5
General Tekno
TO further explain, the building it upgrades to is a flying building with a movement height and anti-ground attack.

Would a spell work for this, like the Obsidian Statue / Destroyer transformation, or the one for the Gargoyle? I've tried it, but it crashes the game, and I have no clue why.