kammerjaeger
Squire
posted 06-17-13 07:07 AM CT (US)
I'm looking for a way to increase or set HP for specific units in scenario editor.
Situation:
i'm trying to create a "tower defense"-map in AoE: Units, generated with triggers, walk to a given point on the map and the player should try to avoid this.
Problem:
After a while, the generated units should get stronger (more HP). For this, there's an effect given by the game. But this affects only already generated units, all units which will be generated later, are not affected of this effect. If i set it as trigger, units will have increased the HP multiple times. and if i set an additional condition, so the HP will increase only if they are in a selected area, some units are too fast to get stronger and others are so slow that they will also have increased the HP multiple times.
Question:
Is there an option / hack / trick to solve my problem?
thanks for your help
kammerjaeger
Squire
posted 06-18-13 02:47 PM
CT (US)
7 / 11
thanks for all your answers.
i thought the solution of Impeached fits best to my situation, so I tried it. But unfortunately, all units change their ownership when they are in the range of my units (as BF-tanks wrote)
Actually I like this way, because there are no negative values needed. So if you would have a solution for this ownership-changing-problem, i would be very glad :-)
kammerjaeger
Squire
posted 06-21-13 12:21 PM
CT (US)
11 / 11
the problem is, that i cann't use create-trigger and hp-upgrade-trigger in the same condition, because the units shouldn't be upgraded during first 60min. and after 10 more minutes, the units should become stronger once again. in this case it would became very complicated with your solution.
now i created a 3rd player with the same color as player 2. units change ownerchip after being generated from player 3 to player 2.
the scenario works really fine. it's looking a little buggy, because player 3 will give up quite fast and appears in the end of the game, but there's no effect on the funcionality.
thank you all very much