Auto-translated
The second parameter in PlayVisualEffect is the name of the object on which the effect will be played.
Here is another question.
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.I used Dyrmana's "Journey" map as a basis, its code:
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?