Current time: 19.04.2024, 12:57 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Ваши вопросы по ERM-скриптам
Author Message
Berserker Offline
Administrators

Posts: 16482
Post: #9286

Archer30, you don't need to get semi-formed string. You can modify existing string object by appending another string (line) to it with your custom text.



Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
Yesterday 12:23
Find all posts by this user Quote this message in a reply
Archer30 Online
Moderators

Posts: 1114
Post: #9287

So it should be like this?


Got crashes Rolleyes


Latest ERA mods and scripts in development - My GitHub
Today 01:25
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16482
Post: #9288

replace !!UN:C(ebp)/-32/4/?(ptr:y); with !!VR(ptr:y):S(ebp) -32;


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
Today 08:25
Find all posts by this user Quote this message in a reply
Archer30 Online
Moderators

Posts: 1114
Post: #9289

Berserker, everything's working perfect, thanks!

___________________


Hold on, there is one more thing.
The game stores how many morale/luck descriptions have been "registered" and leaves those "unregistered" as "temporary" like in the pic. It compares the morale/luck values in creature stack info and the morale/luck description value. If there is a difference, the temporary value would be shown.
Image: etfqdnH.png
Now I can register a few more with the tricks here. How do I register so that the temporary description can be hidden?


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: Today 12:20 by Archer30.)
Today 11:22
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group