Berserker
Posts: 16699
|
Неофициальное обновление в сторону версии 3.4.0
Скачать
[+] Added extra parameter to "OnKeyPressed" event. "OnKeyPressed" occurs multiple times, when you hold the key, while it's sometimes necessary to catch only the first time, when key state changes to DOWN and ignore other events until key state changes to UP. The third event argument serves this purpose and is TRUE only when the key changes its state to DOWN.
!?FU(OnKeyPressed); !#VA(key:x) (preventDefault:x) (isDown:x);
[+] The following improvements were introduced in "Era Erm Framework" mod:
- Added new globally saved parameters for "OnKeyPressed" event: i^key_down^: boolean. TRUE only when the key changes its state from UP to DOWN the first time until being released.
Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
|
|
24.01.2021 17:19 |
|