HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Temperarly change owner

01-16-2005, 04:58 PM#1
BattleBotv8.2
I want to make it while you purchuse this one item, you are not allowed to use the rest of your heros. I made it right now if you use the item, it changes the other heros to Neutral Extra. Once you use another item, it picks every unit in a region. If the unit is owned by Neutral Extra, change owner of unit varible (I know the varible is set right). What am I doing wrong?
01-17-2005, 12:42 AM#2
BattleBotv8.2
Bump

Why isn't this working? It should work. I tried change unit to neutral extra then in a differant trigger, I set change owner of unit varible. Could changing the unit's owner modify the unit varible?
01-17-2005, 02:56 AM#3
Guest
Quote:
Originally Posted by BattleBotv8.2
I want to make it while you purchuse this one item, you are not allowed to use the rest of your heros. I made it right now if you use the item, it changes the other heros to Neutral Extra. Once you use another item, it picks every unit in a region. If the unit is owned by Neutral Extra, change owner of unit varible (I know the varible is set right). What am I doing wrong?

While this is not exactly answering you question as to why your method doesn't work, this is a suggestion for a possible workaround. Since you are just trying to prevent usage of a number of heroes, would using the action "Pause unit" work for your needs? You would then use the action "Unpause unit".
01-17-2005, 02:44 PM#4
BattleBotv8.2
Thanks. The Pause/Unpause works better than switching owners, and it works also .