| 08-29-2002, 12:05 AM | #1 |
Okay my question is, after my hero dies, I want him to come back with 2 levels gone. I have heard this is not possible i have tried everything know to man. Also i wanted to know if anyone has heard about the tool set called modcraft that works for wc3 ? |
| 08-29-2002, 10:09 AM | #2 |
Guest | HERO - SET LEVEL Set (unit) Hero-Level to (hero level of (unit) - 2) (use "conversion - convert integer to real" to get the "Hero - hero level" thing) |
| 08-29-2002, 10:41 AM | #3 |
that doesn't even seem possible because the way the convert trigger works it does not allow me to do that, unless i am missing something |
| 08-29-2002, 08:09 PM | #4 |
Guest | You don't need to convert anything... [Hero - Set Level] -- Set <unit> Hero-level to ([Arithmetic] Hero-Level of <unit> - 2) Simple. Although you need to put a condition that the hero level is greater than or equal to 3 because you can't have levels less than 1. |
| 08-29-2002, 10:57 PM | #5 |
Guest | yeah but the hero level thing can be found under "convert integer to real" since it's an integer, and this action requires a real.. never mind though :) |
| 08-29-2002, 11:24 PM | #6 |
Guest | Hmmm, what do you mean by ´comes back´. *Trigger A - Event: Unit X dies - Actions: turn Trigger B on * Trigger B - Event: Unit X enters playable map ( or specified area like a area arround the altar or reviving spot) // or revived - Action: Turn Trigger A off - Action: Hero lvl -2 = Hero lvl Thats the way I did it in my map, hope this works 4 ya.... |
| 08-30-2002, 12:19 AM | #7 |
U can't loose XP or levels the war3 engine doesn't really allow it. (Try it doesn't work). Its mainly becuase the game doesn't want you to gain the ability to place stats again. |
