ага
"RedHeavenHero01 doesn't exist"
"RedHeavenHero01 doesn't exist"
New here? I'm Roha — want a quick tour?
It doesn't work. Because the hero is inside the town, for the game he doesn't exist as an object.
As an object - yes, but as a hero, it exists for scripts even if it's dead or in the tavern.
There remains a question regarding TalkBox.
function TalkBF(num)
tlkb=num;
end;
TalkBoxForPlayers(1, '', '', GetMapDataPath().."skolko.txt", '', "TalkBF", 0, GetMapDataPath().."skolko.txt", '', 0, GetMapDataPath().."skolko1.txt", GetMapDataPath().."skolko2.txt", GetMapDataPath().."skolko3.txt", GetMapDataPath().."skolko4.txt");
Instead of an icon, a white screen is displayed. This is understandable; I don't know where to find a suitable one. The main text is not displayed (to the right of the icon). The function doesn't work as it should.
Only the functions I mentioned above can be used here, as well as some others that only work with heroes. GetObjectArmySlotCreature cannot be used.
The first argument in the called function is the player number, and the second is the response.
Why go straight to "ж"?
You can use a loop.
Why go straight to "ж"?
You can use a loop.
Instead of an icon, there's a white screen. But that's understandable; I don't know where to find a suitable one. The main text isn't displayed (to the right of the icon). The function doesn't work as it should.
If a function is started with startThread, it doesn't necessarily mean that the function must contain a loop.
You open the map with an archiver and put the folder from the archive there.
Regarding the image, here's an example:
'/UI/Tavern/RumorsIcon.(Texture).xdb#xpointer(/Texture)'