Berserker
Posts: 16657
|
Обновление: https://dropmefiles.com/ExWs8
Code:
[+] Added new constants to "Era Erm Framework" mod:
- ARG_SYNTAX_GET, ARG_SYNTAX_SET, ARG_SYNTAX_ADD for FU:S argument syntax types.
[+] Added new events to "Era Erm Framework" mod:
- "OnAfterBattleSetup", occuring right after "OnBeforeBattle" and "OnBeforeBattleUniversal" events.
New event allows to to be sure, that basic battle parameters (heroes, quick battle, coordinates) are set up.
- "OnBeforeBattle" and "OnBeforeBattleUniversal" events were improved, storing most of prebattle parameters in global variables.
i^battle_isQuick^: (TRUE) if quick battle is enabled, (FALSE) otherwise
i^battle_x^: Battle x-coordinate
i^battle_y^: Battle y-coordinate
i^battle_z^: Battle z-coordinate
i^battle_owner_0^: Left side owner or (NO_OWNER)
i^battle_owner_1^: Right side owner or (NO_OWNER)
i^battle_hero_0^: Left side hero or (NO_HERO)
i^battle_hero_1^: Right side hero or (NO_HERO). Any negative value is normalized into (NO_HERO)
i^battle_ai_0^: (TRUE) if left side is controlled by AI, (FALSE) otherwise.
i^battle_ai_1^: (TRUE) if right side is controlled by AI, (FALSE) otherwise.
i^battle_human_0^: (TRUE) if left side is controlled by human, (FALSE) otherwise.
i^battle_human_1^: (TRUE) if right side is controlled by human, (FALSE) otherwise.
i^battle_remote_0^: (TRUE) if left side is controlled by remote human, (FALSE) otherwise.
i^battle_remote_1^: (TRUE) if right side is controlled by remote human, (FALSE) otherwise.
i^battle_local_0^: (TRUE) if left side is controlled by local human or AI, (FALSE) otherwise.
i^battle_local_1^: (TRUE) if right side is controlled by local human or AI, (FALSE) otherwise.
i^battle_localHuman_0^: (TRUE) if left side is controlled by local human, (FALSE) otherwise.
i^battle_localHuman_1^: (TRUE) if right side is controlled by local human, (FALSE) otherwise.
i^battle_hasHuman^: (TRUE) if least one side is controlled by human, (FALSE) otherwise.
i^battle_humanOnly^: (TRUE) if all sides are controlled by humans, (FALSE) otherwise.
i^battle_aiOnly^: (TRUE) if all sides are controlled by AI, (FALSE) otherwise.
i^battle_isVisible^: (TRUE) if at least one side is human and quick battle is off, (FALSE) otherwise.
i^battle_isNetwork^: (TRUE) if it's network human vs human battle, (FALSE) otherwise.
i^battle_type^: Battle type bit mask: a collection of BATTLE_TYPE_FLAG_XXX constants.
[+] The following improvements were introduced in "Era Erm Framework" mod:
- i^battle_round^ keeps current valid round (same as in OnBattleRound event) and can be used throughout battle triggers
and in OnBattleRound condition like !?FU(OnBattleRound)&i^battle_round^=0 instead of v997.
[+] Added the following functions to "Era Erm Framework" mod:
!?FU(NewIntArray);
; Creates and returns trigger local array of integers.
; Alternative function arguments:
; (?result) The result array will have 0 items.
; (size)/(?result) The result array will have (size) items with 0 value.
; (size)/(fillValue)/(?result) The result array will have (size) items will (fillValue) value
; You may optionally specify (storageType) parameter after (?result) argument with value like M_STORED or M_TEMP.
!?FU(NewStrArray);
; Creates and returns trigger local array of strings.
; Alternative function arguments:
; (?result) The result array will have 0 items.
; (size)/(?result) The result array will have (size) items with ^^ value.
; (size)/(fillValue)/(?result) The result array will have (size) items will (fillValue) value
; You may optionally specify (storageType) parameter after (?result) argument with value like M_STORED or M_TEMP.
Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
|
|
24.10.2020 01:32 |
|
Berserker
Posts: 16657
|
|
25.10.2020 21:44 |
|
Bes
Posts: 5422
|
добавь в раздел ERM FLAGS две строки для 1000/-1000 (человек/ИИ)
|
|
28.10.2020 05:52 |
|
Berserker
Posts: 16657
|
|
28.10.2020 06:12 |
|
Bes
Posts: 5422
|
понял, с минусом не догадался, спасибо
|
|
28.10.2020 06:24 |
|
slater777
Posts: 136
|
Подскажите, пожалуйста, где можно узнать статус переменных: вакантные и занятые.
UPD: неактуально, ужё всё нашёл.
(This post was last modified: 28.10.2020 21:21 by slater777.)
|
|
28.10.2020 21:14 |
|
Berserker
Posts: 16657
|
|
29.10.2020 00:38 |
|
daemon_n
Posts: 4343
|
9999 key codes:
А ещё игра не перехватывает LALT, а на RALT выдаёт сразу 17 и 18
Так ли оно должно быть? Вот я сомневаюсь, если честно.
Новейший Heroes Launcher
|
|
11.01.2021 15:01 |
|
Berserker
Posts: 16657
|
|
11.01.2021 16:35 |
|
Berserker
Posts: 16657
|
|
11.01.2021 17:48 |
|
daemon_n
Posts: 4343
|
|
09.02.2021 12:14 |
|
daemon_n
Posts: 4343
|
|
09.02.2021 13:26 |
|