| 05-09-2005, 06:05 PM | #1 |
Guest | How would you make a unit switch to it's 2nd attack, w/o letting the both attacks work at once? |
| 05-09-2005, 06:09 PM | #2 |
The second attack is really only used for certain targets, like only air, or only ward. |
| 05-09-2005, 07:05 PM | #3 |
From my testing, I came to the conclusion that a unit will always try to use attack 1. If it cannot use attack one (a.k.a. the unit is not a type that attack 1 can hit), then it will try and use attack 2. You can use upgrades to change which attack gets used, but that is really a one time thing. It theoretically would be possible to use the orb abilities to turn on different attacks, but I have not got that working yet. If there is some JASS function or something that can easily change the attack settings, I'm not aware of it. (But if it does exist I would love to hear about it!) |
| 05-09-2005, 07:21 PM | #4 |
make 2 units with the 2 diferent attacks then use the morph ability or use this guide(damm I forgot the url) Ill post the map, its a collection of triggers(well explained) that has a code(in gui n custom script) for morphing 1 unit into another totally diferent keeping level n items, I hav done one map to keep the habilities n levels in each morph but thats not yet for puclic use(besides I think its simple). I this is in in the files section, but im not sure... |
