Current time: 23.11.2024, 03:20 Hello There, Guest! (LoginRegister)
Language: english | russian  

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

Posts: 7107
Post: #3241

Реально. В том же триггере Эры и делается. Вычисляешь кто следующий ходит и передаёшь ему ход. Можно ещё попробовать установить отряду флаг, что он уже сходил.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
23.03.2015 21:46
Find all posts by this user Quote this message in a reply
Efrit Offline
Administrators

Posts: 6183
Post: #3242

gamecreator Wrote:Можно ещё попробовать установить отряду флаг, что он уже сходил.

Вот-вот, проще всего установить отряду флаг 67108864 с помощью !!BM:F.


Welcome to the soldier side,
Where there is no one here but me.
People all grow up to die,
There is no one here but me...
23.03.2015 21:53
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #3243

Я просто не уверен, что это сработает.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
23.03.2015 22:06
Find all posts by this user Quote this message in a reply
Barin Offline

Posts: 804
Post: #3244

Ладно, я свой сюжет подправил, чтобы не заниматься этой проблемой. Санта после принудительного отступления, подальше убегает, чтобы была возможность выстрелить. Spiteful
23.03.2015 22:52
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #3245

I have a problem with a script. Basically I want to transfer artifacts from backpack left hero to backpack right hero when shift+left click (as HD mod).

It works ok, but when I want to leave heroes screen, it does a weird thing, it restores visually all artifacts exchanged. Only visually, so I guess there is a redraw problem, here video showing:

Script:

Any ideas what I could do about?
(This post was last modified: 27.03.2015 20:47 by Valery.)
27.03.2015 20:41
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #3246

It looks like every click opens new hero meeting window, so I think it's the problem of several windows present, not redraw.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
27.03.2015 22:47
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #3247

Have no easy solution in mind. I thought SN:D work :(


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

Posts: 2196
Post: #3248

   MoP function creates a new window indeed, Baratorch already warned about problems. Without MoP function, there is no way to redraw, artifacts are moved but we don't see. However, when we move artifacts from hero equipped slots, we have no problems in HSM mod, redraw is correct. Why backpack is different then, I have no idea.

In this case, a redraw would mean close the bottom window.
(This post was last modified: 28.03.2015 02:02 by Valery.)
28.03.2015 01:38
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #3249

(28.03.2015 01:38)Valery Wrote:  Without MoP function, there is no way to redraw, artifacts are moved but we don't see. However, when we move artifacts from hero equipped slots, we have no problems in HSM mod, redraw is correct.
Try moving an artifact from an equipped slot to itself? Catapult would be my first choice for this.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
28.03.2015 02:30
Find all posts by this user Quote this message in a reply
Alexander_Cw Offline

Posts: 104
Post: #3250

Каким образом в ресейвере !!TM можно указать днём начала текущий день, день активации триггера? на 7 дней позже?
28.03.2015 17:55
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #3251

Советую прочитать раздел справки о переменных. Есть переменная с, она делает в точности то, что ты хочешь.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
28.03.2015 18:42
Find all posts by this user Quote this message in a reply
igrik Offline

Posts: 2819
Post: #3252

Valery, зачем ты оключаешь !!CM:I30720;???. Оно же и закрывает окно, а функция MoP'a открывает окно встречи (такой вот способ обновления экрана). Вследствие этого и приходится нажать раз 10 чтобы в конечном итоге закрыть окно встречи.


game bug fixes extended.dll || My Plugins || My GitHub
29.03.2015 16:21
Visit this user's website Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #3253

Кстати, что за SN:D? Какая-то секретная команда? В справке её нет.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
29.03.2015 16:35
Find all posts by this user Quote this message in a reply
igrik Offline

Posts: 2819
Post: #3254

Берс в эру интегрировал. Команда обновления экрана в любом тригере !?CM, ток не помню начиная с какой версии эры она была введена


game bug fixes extended.dll || My Plugins || My GitHub
29.03.2015 16:40
Visit this user's website Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #3255

Tested both SN:D and !! CM: I30720, I recall it was same. Igrik, you know how to deal with window closing?
(This post was last modified: 29.03.2015 17:36 by Valery.)
29.03.2015 17:36
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