Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
New here? I'm Roha — want a quick tour?
function checkGrok()
while IsHeroAlive("Grok") do sleep(10) end
SetObjectiveState('Sec17', 3)
sleep(3)
...
end
startThread(checkGrok)
CreateStatic ("mel_quest_tavern", "MapObjects\Effects\Glow\ArtifactGold.(AdvMapStaticShared)", 42, 147, 0) produces the error "not found static shared". What could be the problem?
The commandproduces the error "not found static shared". What could be the problem?CreateStatic ("mel_quest_tavern", "MapObjects\Effects\Glow\ArtifactGold.(AdvMapStaticShared)", 42, 147, 0)
When the commandis executed, it produces the error "not found static shared". What could be the problem?CreateStatic ("mel_quest_tavern", "MapObjects\Effects\Glow\ArtifactGold.(AdvMapStaticShared)", 42, 147, 0)
The path is written incorrectly: the slashes are in the wrong direction, and .xdb#xpointer(/AdvMapStaticShared) is missing.
Wouldn't it be easier to create an effect instead of a static object?
The second parameter in PlayVisualEffect is the name of the object on which the effect will be played.
TalkBoxForPlayers(PLAYER_1,'/UI/Tavern/RumorsIcon.(Texture).xdb#xpointer(/Texture)', nil,GetMapDataPath().."mel_dopquest_krest_yes_texttalk.txt","","mel_dopquest_krest_yes", 0, "", "", 0, GetMapDataPath()..."mel_dopquest_krest_yes_texttalk.txt", GetMapDataPath().."mel_dopquest_krest_no_texttalk.txt")In general, the function works as it should. But the 4th parameter, which is specified as the path to the dialogue text in ValexAV's guide, stubbornly does not display this text. If I specify the same path in another parameter, it will be displayed there.kvest1_1=(GetMapDataPath().."kvest1_vibor_1.txt");
kvest1_2=(GetMapDataPath().."kvest1_vibor_2.txt");
kvest1_3=(GetMapDataPath().."kvest1_vibor_3.txt");
kvest1_4=(GetMapDataPath().."kvest1_vibor_4.txt");
TalkBoxForPlayers(PLAYER_1,'/Textures/Icons/Heroes/Academy/Academy_Razzak_128x128.(Texture).xdb#xpointer(/Texture)',
"",GetMapDataPath().."kvest1_dialog.txt","","na_vibor_kvest_1",1,GetMapDataPath().."kvest1_zagolovok.txt","",0,
kvest1_1,kvest1_2,kvest1_3,kvest1_4) ;also does not display the dialogue text. If I understand correctly, it should be located to the right of the icon?
[h5][color_bright][value=text]` (replace the square brackets with less than/greater than signs and save it in Unicode), then it will be displayed.
If you create a UI\CommonBoxes\TalkBox\Text.txt file with the following content:(just replace the square brackets with less than/greater than signs, and save it in Unicode), then it will be displayed.[h5][color_bright][value=text]