| 11-30-2004, 05:39 PM | #1 |
All units have a field in the object editor named "stats - level". I know that this is used when determining how much experience will be given to enemy heroes when the unit dies. Heroes have this field as well, but as far as I know, when it comes to heroes, experience gain is determined differently, based on the Hero level. All heroes have their "unit" level set to 5; my question is, does changing this value on a hero change anything concerning experience gain when the hero is killed. (I would like to use the unit-level parameter to store some unit-type specific data in my map for the triggers to use) |
| 11-30-2004, 06:18 PM | #2 |
Guest | I would have thought that it would effect it, as all of their levels are set to 5, and i think someone did use them before in a map. I guess the only way to find out is to test it. Make a new map, two heros, test it, emember exp gained, change unit level, test again, and see if it is different. It won't take that long. I would do it if i had WE working properly. |
| 11-30-2004, 08:13 PM | #3 |
Yeah, I would do that, but now I found out that what I wanted to use the whole thing for doesn't work, so it doesn't matter anymore. Apparently, when using the "unit - level of unit" integer function for a hero unit, it doesn't return you the "unit level" of the hero, but rather his "hero level". |
