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

Post Reply 
Threaded Mode | Linear Mode
Логические/математические операции на ЕРМ
» операции с флагами монстров и др.
Author Message
Berserker Offline
Administrators

Posts: 16467
Post: #46

Archer30, https://dropmefiles.com/neUkr
math.era plugin !!SN:A, L. E to execute ^sqrt^ function with STDCALL convention, accepting e-variable and returning result in e1.


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

Posts: 1103
Post: #47

132 Thanks a lot, Berserker!


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 13.12.2020 18:32 by Archer30.)
13.12.2020 18:31
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1103
Post: #48

Berserker, I'm having trouble dealing with this math.era, could you help, please?


I keep getting e1 = 0.00 Fie


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 13.12.2020 20:33 by Archer30.)
13.12.2020 20:31
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16467
Post: #49



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

Posts: 1103
Post: #50

Thanks, Berserker. Didn't know there is SN:E#1/5 too...


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

Posts: 16467
Post: #51

Main issue is that you pass integer x1, not floating point number e. They have different binary representation.


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

Posts: 19
Post: #52

Добрый день, не очень понятно как сделать в MA из двухклеточного одноклеточного монстра (как наоборот ясно, через хлаги, а тут как-то минусовать надо)
(This post was last modified: 28.01.2022 05:17 by Sashka40.)
28.01.2022 05:15
Find all posts by this user Quote this message in a reply
igrik Offline
Administrators

Posts: 2810
Post: #53

(28.01.2022 05:15)Sashka40 Wrote:  Добрый день, не очень понятно как сделать в MA из двухклеточного одноклеточного монстра (как наоборот ясно, через хлаги, а тут как-то минусовать надо)
Bes, добавь этот пример в справку. Вопрос по отключеню определённого флага довольно частый (и желательно не использовать i-переменную)


game bug fixes extended.dll || My Plugins || My GitHub
28.01.2022 06:20
Visit this user's website Find all posts by this user Quote this message in a reply
Sashka40 Offline

Posts: 19
Post: #54

igrik, Спасибо вам!
(This post was last modified: 28.01.2022 06:46 by Sashka40.)
28.01.2022 06:44
Find all posts by this user Quote this message in a reply
SergOz Offline

Posts: 1287
Post: #55

Где-то видел, а сейчас не могу найти... Хотя, такому самое место в этой теме.
В общем, мне нужно, на ERM, возводить число в степень n.
На ум приходят только какие-то длинннннющие коды.
Может, кто знает как это сделать красиво?


Карта-мод "Война на Холсте"
10.07.2023 09:56
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1103
Post: #56

SergOz, There is Pow from Era Erm Framework

To use:


Latest ERA mods and scripts in development - My GitHub
10.07.2023 10:29
Find all posts by this user Quote this message in a reply
SergOz Offline

Posts: 1287
Post: #57

Archer30, спасибо Thank_you
А как ты понял слово "длинннннющие"? 96 это типа "lonnnnnng"?


Карта-мод "Война на Холсте"
(This post was last modified: 10.07.2023 12:43 by SergOz.)
10.07.2023 12:41
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16467
Post: #58

Тот же яндекс переводит как «long». Прогресс.


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