Skip to content

Posts from Scripts

4.8 (8 ratings)
User Avatar
#79
Auto-translated
okay, I'll try without a space.

Added 1 minute ago
and did I write the artifact ID correctly – I mean, should I write ID_86 or just 86?






User Avatar
#80
Auto-translated
in my opinion, just 86
Всё, что сейчас происходит во мне, тоже является частью Вселенной. (с) Иванов Александр.
Цикл кампаний "Дыхание Смерти" из трёшки в четвёртом исполнении
Учебная карта
Астралия
За Королеву!
Подземелья и Дьяволы
Отголоски войны
Освобождение
User Avatar
#81
Auto-translated
I think so too, because when I enter ID_86, the editor gives an error.






In reply to SFmarat1996
User Avatar
#82
Auto-translated
Hello, friends. I'm looking for a working script that would make the opponent attack, for example, after 3 months of gameplay.
Евангелие от Иоанна, 1.5: Lux in tenebris lucet, et tenebrae eam non comprehenderunt. Свет во тьме светит, и тьма не объяла его.
User Avatar
#83
Auto-translated
question: where should it be before that? should it even be on the map before that? what should it do before that, so that on the third month it suddenly starts attacking? p.s. all of this is in the campaigns. you just need to look around a bit ;)
Всё, что сейчас происходит во мне, тоже является частью Вселенной. (с) Иванов Александр.
Цикл кампаний "Дыхание Смерти" из трёшки в четвёртом исполнении
Учебная карта
Астралия
За Королеву!
Подземелья и Дьяволы
Отголоски войны
Освобождение
User Avatar
#84
Auto-translated
Colleagues, has anyone encountered problems with the MessageBox function? What kind of errors might occur there (besides the most obvious ones, such as an incorrect path or name)? This function is ruining everything for me; it's messing up the entire script. I'm already considering replacing all the messages with videos. Thanks in advance.
 

К А
Стикеры GBF в Telegram
User Avatar
#85
Auto-translated
well, if everything is written and scripted correctly, even I could create messages using this script;
have you tried viewing the messages on a blank map?
or open any campaign or a complex scenario and figure it out :) - that's how I do it too..
Всё, что сейчас происходит во мне, тоже является частью Вселенной. (с) Иванов Александр.
Цикл кампаний "Дыхание Смерти" из трёшки в четвёртом исполнении
Учебная карта
Астралия
За Королеву!
Подземелья и Дьяволы
Отголоски войны
Освобождение
In reply to Ment
User Avatar
#86
Auto-translated
Ment
Colleagues, has anyone encountered problems with the MessageBox function? What kind of errors might occur there (besides the most obvious ones, such as an incorrect path or name)? This function is ruining everything for me, the entire script. I'm already considering replacing all messages with videos.
Thank you in advance.
Could you provide more details? Can you give an example of the entire script function? And a description of the error (as it appears in the console).
User Avatar
#87
Auto-translated
MessageBox(GetMapDataPath.."li0.txt");
it doesn't show any errors regarding this.
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
#88
Auto-translated
Ment
MessageBox(GetMapDataPath.."li0.txt");
doesn't produce any errors regarding this :(
Well, the error is clear.
Forgot the parentheses ;)
MessageBox(GetMapDataPath().."li0.txt");
User Avatar
#89
Auto-translated
Thanks, Froska. I didn't notice. But I'm afraid it still doesn't work. Either something is wrong with me, or with the editor :)
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
#90
Auto-translated
Here is a 100% working message:

MessageBox( "/Maps/SingleMissions/SecretIsle2_1/MissionSStartText.txt" );

In your case, the path will be:

"/Maps/SingleMissions/your map name/li0.txt"
First, you need to create this text using the editor, for example, in CustomGoal (don't forget to delete the line later).
I generally don't recommend overloading the script with unnecessary commands.
Клан "Вершители Асхана" - "Masters of Ashan"
In reply to Ment
User Avatar
#91
Auto-translated
Ment
Thank you, Froska. I didn't notice. But I'm afraid to say that it still doesn't work. Either something is wrong with me, or with the editor :)
Do the other messages work?
User Avatar
#92
Auto-translated
Nothing works. I suggest we forget about it. I'll try to install the patch (which is difficult with my internet connection), and maybe it will work then.
 

К А
Стикеры GBF в Telegram
User Avatar
#93
Auto-translated
Okay, I figured it out! Turns out, I'm quite the blockhead! :) I was creating the text files in Notepad, but I should have been using the Heroes editor. They probably use different encodings.

Added 2 minutes ago
It's not just possible, it's definite.
 

К А
Стикеры GBF в Telegram

Statistics

Welcome our newest member: Emil