| 09-28-2002, 06:26 PM | #1 |
Guest | I´m trying to make an upgrade to all the playable units for all four races = at least 30 units and 30 upgrades each of the units plzzzzzz tell me it´s possible!! and show me how!! |
| 09-28-2002, 06:48 PM | #2 |
huh i cant understand you do you want to make a new upgrade? well you cant do that and you cant edit em either but you can do it through triggers but you can try to figure that out on you own... |
| 09-28-2002, 08:16 PM | #3 |
Guest | Check out the forgotten highlands in the map section. It has trigger based spells. Good luck though :D |
| 09-28-2002, 08:32 PM | #4 |
Guest | Update: Example: Swordsman LvL 1 ---- Swordsman LvL 2 (bigger, more dmg and so on) through a upgrade icon on a building. Every previous built Swordsman LvL 1 will become LvL 2--30 |
| 09-29-2002, 12:17 AM | #5 |
If I understand you right, you don´t want an upgrade in the meaning of WC3, but you want units to become "stronger". One way would be to define a Triggertype that replaces (Unit - Replace) a unit lvl X with a unit lvl Y. I need to know, what kind of circumstance is meant to trigger the "upgrade" though. My way to do it would be: Set a Unit-Type Array containing all upgraded forms of one unit. <Example> Set Soldiers[0] = Soldier lvl 1 Set Soldiers[1] = Soldier lvl 2 etc.... Whenever a Unit is supposed to upgrade, the function would be EVENT: <Example> A unit owned by Player 1 (Red) is attacked CONDITION: <whatever> ACTION: For each (Integer A) from 0 to <highest index number of array> (If (Soldier[(Integer A)] Equal to (Unit-type of (Attacked unit))) then do (Unit - Replace (Attacked unit) with a Soldier[(Integer A +1)] using The old unit´s relative life and mana) else do (Do nothing)) To get this running you have to 1) create all different types/levels of soldiers as custom units and 2) set all the arrays in your custom map, e.g. during map initialization. Simply editing new variables doesn´t make them work, just available. BUT, and it´s a very big BUT, there seems to be a maximum of available custom units in one map. Somebody mentioned a number of 100. |
| 09-29-2002, 03:01 AM | #6 |
For future reference: Don't be annoying: Don't capatalize and don't put spaces inbetween every letter, and actually fool around in WE a little before posting around here. Oh yeah, and you don't need so many exclamation marks (!). |
| 09-29-2002, 09:22 AM | #7 |
Guest | circumstances= You push an upgrade buttom at a building that cost gold. 1 buttom for each level. Oh and sorry for that angel. Wont happen again. I was just abit desperate :D |
