function hatF ()
Trigger(OBJECT_TOUCH_TRIGGER, "Lesorub", nil );
MessageBox (GetMapDataPath().."lesorubnecro.txt");
end;
Trigger(OBJECT_TOUCH_TRIGGER, "Lesorub", "hatF" );
function tekstmob1(heroname)
Trigger(OBJECT_TOUCH_TRIGGER,'Lesorub',nil);
MessageBox(GetMapDataPath().."lesorubnecro.txt");
SetObjectEnabled('Lesorub',true);
sleep(5);
MakeHeroInreractWithObject(heroname,'Lesorub');
end;
SetObjectEnabled('Lesorub',nil);
Trigger(OBJECT_TOUCH_TRIGGER,'Lesorub','tekstmob1');
TalkBoxForPlayers can be used, but then the text will have to be moved to the description of the icon in the question mark, because there isn't much space to the right of the icon. Of course, this can be called a price for providing information, but I'm not sure if players will like having to click on the icon to read the next text of the quest or the text before the battle with a monster.
In general, there are some difficulties with displaying text in Multiplayer...
What is this file?
Content:
File format: plain Unicode text (save in NOTEPAD as Unicode)
It is recommended to distribute this file as part of the map archives that use TalkBoxForPlayers.
..............................
That is, you create a folder in the map archive so that the text file is in the archive at the described path. The file is in Unicode, as usual. And in the file itself, it should be written
Then, for the person who launches your map, this script will work normally in terms of the text to the right of the icon. But there is little space, a scrollbar like in the message box does not appear, so you can't write much at all. It most resembles the Sphinx's interaction with its question and three answer options.
Sorry if I'm writing too much detail.
Then, for the person who launches your map, this script will work normally in terms of the text to the right of the icon. But there is little space, a scrollbar like in the message box does not appear, so you can't write much at all. It most resembles the Sphinx's interaction with its question and three answer options.
Sorry if I'm writing too much detail.