Current time: 18.05.2024, 16:11 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
ERA III
Author Message
Berserker Offline
Administrators

Posts: 16512
Post: #2566

Just modify stdlib then



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

Posts: 1126
Post: #2567

Maybe this?
Assumes that mouse click will have the same result with mouse hint wait it won't


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 26.04.2024 11:49 by Archer30.)
26.04.2024 10:59
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16512
Post: #2568

Nope, click is click, hint is hint. You can add to both events to be able to differentiate hints for active and non-active player.


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

Posts: 1126
Post: #2569



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

Posts: 16512
Post: #2570

Archer30, great. Now it will be much easier to add check. Will add to Era log too.

What's about hotseat? Seems like we should check game type for network gaming or at least add check for hotseat too.

hotseat, battle against AI => true if non-AI active
hotseat, human vs human => always true
single player => true if non-AI active
network battle => true if this PC player active


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

Posts: 16512
Post: #2571

Code:
[+] Added the following global variables to Era Erm Framework:

  i^battle_isThisPcActive^: bool. Used in battle hint and battle click events to allow GUI interaction or display action hint for active GUI user.
                                  Single player, Hot seat => TRUE if active side is human
                                  Multiplayer => TRUE if active side is this PC human


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

Posts: 1126
Post: #2572

Logic looks great. Script is ready?


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

Posts: 16512
Post: #2573

Will send you soon updated EEF.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
28.04.2024 07:43
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