HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Replace Unit moving

12-28-2006, 04:56 PM#1
marshall
Having a bit of trouble with the Replace Unit action.

The player's hero stands next to a tower and orders it to upgrade.
My trigger replaces the tower with a different tower.
Unfortunately, the new tower is not placed exactly where the original tower was, presumably because there is a concern for collision with the hero.

The replacement tower is an exact copy of the original tower in terms of art/pathing/etc.

Has anyone encountered this problem before and/or know of a way around it? Thanks.
12-28-2006, 08:45 PM#2
wyrmlord
Replace unit actually removes the old unit and creates another, so that's why it gets moved.
12-28-2006, 08:50 PM#3
darkwulfv
Simple Solution:

Use the Remove Unit and Create Unit actions. Basically the same, and I don't beleive there is a movement change.