| 08-15-2005, 06:34 PM | #1 |
ok, what i am attempting is to make all units, for example, all footmen, owned by player X, change to a different unit, forexample, a knight, when player X researches upgrade1. What i've done is made the upgrade a dummy, but i cant get the triggers to change all footmen, and only all footmen owned by player X, into knights, still owned by player X. |
| 08-15-2005, 08:07 PM | #2 |
Pick all units in (Entire Map) of type (Footman) owned by (Player 1 Red) Replace (Picked Unit) with (Knight) Easy as that. |
| 08-15-2005, 08:54 PM | #3 |
thanks tim. emote: *heads off to figure out how to upgrade the unit that is trained to be a knight instead of a footman* |
| 08-15-2005, 09:18 PM | #4 |
From what you said I guess you want the effect of the headhunter->berserker upgrade. Just take a look at how that upgrade and those two units are done, you should be then able to copy that and adapt it to your purposes. |
| 08-15-2005, 10:49 PM | #5 |
Hah, I didn't even think of that. (Not suprising.. Never played Mele games haha!) |
| 08-16-2005, 03:18 AM | #6 |
hey, thanks for the berserker tip. i still had to use triggers to change existing models, since i couldnt get it to inherit right. My only problem is, regardless of if i use 1 berserker upgrade base or two upgrades, only the first time i upgrade does it remove the previous version of the unit from the barracks. i can train the new unit, but the old one is still available to train. is there a way to remove the old one through triggers, or is there something i am missing in configuring the berserker upgrade? |
| 08-16-2005, 07:08 AM | #7 |
Aye, the upgrade. If you check the berserker upgrade you should notice that it actually disables the normal unit and enables the upgraded unit. You need to do that. All the ability does is change the units, the upgrade itself is what changes the availability. |
| 08-18-2005, 03:34 AM | #8 |
yeah, it wouldnt allow a negative # in the third effect slot, and i need one more effect slot for me to do all the unit upgrades, i need 4 upgrades, but it needs to have the original unit in effect 1.(only 4 effects available on an ability) |
| 08-18-2005, 07:40 AM | #9 |
What are you talking about? |
| 08-18-2005, 05:14 PM | #10 |
ok, i need the upgrade to be upgradeable 4 times. each time, i need the unit to change. I set the berserker modification to 4 levels, and give the appropriate requirements to each unit trained at the building. The first time i train, it enables the 2nd level of the unit and disables the first, but there after it only enables the 3rd, 4th, so on, with out removing the previous level of the unit. i know WHY this is, what i need is a way to remove the 2nd, 3rd, and 4th levels when levels 3, 4, and 5 are researched and i also need to make the ability inherit properly to units in play so that i can avoid using triggers to upgrade units already on the field. |
| 08-19-2005, 02:08 AM | #11 |
is there perhaps an upgrade similar to berserker that, instead of swapping units, swaps upgrades or abilities? i already checked the code on berserker and it only allows unit replacement |
