Skip to content
User Avatar
#828
Auto-translated
JonnyP
:smile33:
Basically, the script lines themselves (for ...ForPlayers, something similar, there shouldn't be much difference for single-player or multiplayer)
gold = GetMapDataPath().."text_2.txt";
MessageBox ({GetMapDataPath().."text_1.txt";eq=gold},nil);

in the text file 'text_1.txt', we write Do you want to receive (angle bracket)value=eq(angle bracket) gold as a bonus?
in the text file 'text_2.txt', we write ten thousand

P.s.: I don't think I missed anything, it was a while ago, but non-numeric variables worked and were displayed for me ;)
Thank you! It turns out you can pass the entire text file :) So, the parameter being passed stores the file path, but cannot store the text itself. Interesting....
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...