Emm, but what will happen with other heroes on map? They will all go to 100? Or this script only blocks gaining experience if we already have the value of exp input?
(23.06.2016 04:16)Valery Wrote: [ -> ]Emm, but what will happen with other heroes on map? They will all go to 100? Or this script only blocks gaining experience if we already have the value of exp input?
They will all go to 100 level. Script blocks incoming experience, only if there is a maximum overflow.
Additionally, you can selectively set the hero №1 maximum experience level 20, hero №2 maximum experience level 74, the hero №3 maximum experience level 100, and all the other heroes level 70.
I am not yet there, with the test, but not sure I understand: once the script is activated, everyone jumps to 100 level instantly or 100th level becomes the limit for everyone?
Will see it anyway, it takes a lot of time to level until that. There is a dwelling on map which activates the script, and accords its values to either the main hero is level 100 or 108.
I hope the game can identify those levels.
I mean like this
But I don't really understand what you want to do.
How do we know which is current hero? This script occurs when level up?
What I want: is that everyone normally levels up but after 100 or 108 (there is no way to know which will go from 88) experience is stopped for that hero, while others still level ok.
Valery Wrote:How do we know which is current hero?
Valery Wrote:This script occurs when level up
No. Any experience gained. Hook always works in the preparation of the experience, even if the hero not gains a level.
Valery Wrote:What I want: is that everyone normally levels up but after 100 or 108 (there is no way to know which will go from 88) experience is stopped for that hero, while others still level ok.
After 74 level is not one of the levels are not normally!! You must to understand it!
After 74 level is impossible to properly monitor and predict how to behave on a set level and experience.
yes I know that, I don't want to fix ghost levels (74-88), only to avoid bug when we gain experience after 100/108. y5 current hero, thanks, thats I wanted to know.
ok, I tested and it works great, the hero remains at 108, no matter how experience comes from, trees, pandora, event or battle.
The only downside is that creatures in his army don't get experience from battle, unless I level them using a different hero.
I will set experience manually after battle.
Looking for a way to get the class of the artifact at x/y/z. So far, UN:J6 will only generate one, is there a way to get the class of an existing one?
Damnt, skipped "type" in help because I was looking for class. Of course, thanks.
gamecreator, when you scripted events on/off, the graphic used was one square (36x36). if I want a new variant and I use a bigger graphic, does the script needs changes? Because it crashes as soon as I use bigger def.
Yes, it does that with bigger defs. Supposedly you would need to go through all affected tiles and remove graphics for each, but I didn't investigate this as one tile was enough and it worked.
Ah well, then is really complicated, I will take an easier path. Thanks anyway.