Здравствуйте "Algor"
Quote:Странно, не должны оставаться.
Попробуйте после этой строки добавить:
!!BU:Exx16/?i;
!!BMi&i>-1:G-81/x7/d;
- да, после этих строк перестал вызванный отряд суммироваться с тем, что уже был в стеках, но зато теперь эти вызванный монстры не прибавляются уже к имеющимся, а списываются после битвы, как побитые (уничтоженные врагом)..
Получается лишь только тогда, когда я вызываю, допустим, чудовищем зверей, а если же зверями зверей, то под самый конец они все суммируются.. Но это не столь важно..
Всё равно хорошо, что проблема пусть даже так, но решена..
Спасибо Вам "Algor" ещё раз за этих две чудесных строчки... Спасибо...
Hi,
Just in case I overlooked some UN:C posted, is there any alternative for redraw map/hero/resources if primary stats or resources are added in DL trigger, after closing the dialog?
UN:R1/UN:R2 will not work, need to perform one action to redraw.
Why UN:R2/-1 does not fit?
no idea.
Now +1 attack does not display until you click on something (town, hero screen)
UN:R or whatever has no effect. Same thing for resources given via DL.
Update screen right after calling !!DLxx:S using UN:R2/-1
No way, I need redraw after quiting the DL, not after displaying it. It doesn't work neither.
In fact, the redraw is a constant problem, both battle and adventure map, for mods using DL.
There is no problem. Sorry, Val, you are wrong. Redraw should be called after showing the dialog and it works as expected.
I got what is going: if DL size allows to see the resource bar behind, it redraws. if DL size is 800x600 so resource bar is hidden, redraw does not work. Same for hero primary skills:if right box is visible, ok. If hidden, not ok.
Interesting to know, DL size 800x600 is not the best then. Better create smaller dialogs but one opening each other.
Valery, может сработает это взамен UN:R4.
When you call redraw after showing the dialog, the dialog is already closed and is not shown. So UN:R2/-1 works. Do I miss anything?
Second parameter is for current hero. (-1)
My problem is simple, I think is misunderstanding:
You open dialog (DL) and change hero stats in this dialog. Then you close dialog and back on adventure map, stats are not updated. They will update as soon as you open hero screen, or town screen, or cast spell.
Any UN:R commands, in any place, will change nothing. I put them before dialog, in dialog, after dialog, no effect.
All this about 800x600 size dialog. If the area to update is visible when dialog is up, it works. I tested by resizing the dialog, same erm codes, if less than 800x600, ok. So, in order to have proper redraws, one must design a DL template with the size of adventure map screen max.
Of course, I wouldn't bitch about if it didn't took me 2 weeks to design 800x600 template and can't resize, every pixel is used.

I am cursed.
(06.11.2014 20:22)Valery Wrote: [ -> ]Second parameter is for current hero. (-1)
Really, a hero number to redraw resource bar.

Sorry then, Val, I don't know any solution from the past experience either

Not big problem, thanks anyway. The changes will redraw when player takes one action, not catastrophic.