Всем привет, не могу разобраться как правильно включать анимацию блика на клиенте HF. Пробывал разными методами ничего не сработало((
кто сталкивался с такой проблемой куда копать ? (ACP взял из interlude отсюда https://mmo-dev.info/threads/Исходники-essence-interface-для-interlude.29206/)
Прикладываю видео чтобы было понятней:
кто сталкивался с такой проблемой куда копать ? (ACP взял из interlude отсюда https://mmo-dev.info/threads/Исходники-essence-interface-для-interlude.29206/)
function OnLoad()
{
local int i;
Me = GetWindowHandle("AutoPotionsWnd");
for (i=0; i<MAX_POTIONS; i++)
{
i_Potion = GetItemWindowHandle((("AutoPotionsWnd.slot" $ string(i)) $ ".itemPotion") $ string(i));
// texActive = (("AutoPotionsWnd.slot" $ string(i)) $ ".texToggle") $ string(i);
texActive = GetAnimTextureHandle((("AutoPotionsWnd.slot" $ string(i)) $ ".texToggle") $ string(i));
// texActive = AnimTextureHandle(GetWindowHandle("AutoPotionsWnd.texToggle" $ string(i)));
texActive.HideWindow();
}
InventoryW = InventoryWnd(GetScript("InventoryWnd"));
ItemWndHandle = GetItemWindowHandle("InventoryWnd.InventoryItem");
ShortcutWndScript = ShortcutWnd(GetScript("ShortcutWnd"));
}
function onActiveTex(bool texON, int a_Index)
{
// local L2Util l2UtilScript;
// local int i;
// l2UtilScript = L2Util(GetScript("L2Util"));
// End:0x50
if(texON)
{
// for(i=0; i<10; i++) {
// l2UtilScript.animTexturePlay(texActive[a_Index], "l2.AutoShot.ShotToggleEffect_0" $string(i), -1);
// }
texActive[a_Index].ShowWindow();
texActive[a_Index].SetLoopCount(-1);
texActive[a_Index].Stop();
texActive[a_Index].Play();
}
else
{
texActive[a_Index].Stop();
texActive[a_Index].HideWindow();
}
return;
}
Прикладываю видео чтобы было понятней:







































