Jump to content

Digest January-March

We talk about what was done and updated in the past month. We help keep abreast of events.

March February January

Servers monitoring and the Addons Editor

We present you two legends. All dreams come true.

Servers monitoring The Addons Editor

A statistics bot for Telegram

Convenient analytics right on your phone.

Read more

Game tooltips

Tooltips provide a way for 3rd party fansites and extensions to display detailed information on mouseover.

Read more

The Addons Updater

Let us to introduce the addons updating software and to share the details

Read more Download

NotifyTrink


Guest GoodKo4AD

Recommended Posts

Guest GoodKo4AD

NotifyTrink

Просмотр файла

Аддон оповещает о срабатывании амулетов колдуна.

Черное крыло - атакующая бафка.

Белое крыло - защитная бафка.

Not ready for EU/US game versions yet (needs localization).

с таким кодом будет информативней

--------------------------------------------------------------------------------

Global( "wtLight", nil)
Global( "wtDark", nil)

--------------------------------------------------------------------------------

function OnEventObjectBuffAdded( params)
if (params.objectId == avatar.GetId()) then
local avatarBuffs = object.GetBuffInstances( params.objectId, params.buffId )
for key, value in avatarBuffs do
local buffInfo = object.GetBuffInfo( value )
local nam = userMods.FromWString(buffInfo.name)
local find = string.find(nam, "Стремление к тьме")
if find then
StartBlack()
end
find = string.find(nam, "Стремление к свету")
if find then
StartWhite( )
end
end
end
end
-- Включение панели таймера, Запуск таймера

Global( "WHITE_PLACE", nil )
Global( "BLACK_PLACE", nil )
Global( "WHITE_PLACE_TO", nil )
Global( "BLACK_PLACE_TO", nil )

function StartWhite( )
wtLight:Show(true)
wtLight:PlayResizeEffect( WHITE_PLACE, WHITE_PLACE_TO, 15000, EA_MONOTONOUS_INCREASE )
end

function StartBlack()
wtDark:Show(true)
wtDark:PlayResizeEffect( BLACK_PLACE, BLACK_PLACE_TO, 15000, EA_MONOTONOUS_INCREASE )
end

function OnEventEffectFinished( params )

if params.wtOwner:GetName() == "Dark" then
wtDark:Show(false)
wtDark:SetPlacementPlain(BLACK_PLACE)
elseif params.wtOwner:GetName() == "Light" then
wtLight:Show(false)
wtLight:SetPlacementPlain(WHITE_PLACE)
end
end

--------------------------------------------------------------------------------
-- INITIALIZATION
--------------------------------------------------------------------------------

function Init()
wtLight = mainForm:GetChildChecked( "Light", true )
wtLight:Show(false);
WHITE_PLACE = wtLight:GetPlacementPlain()
WHITE_PLACE_TO = wtLight:GetPlacementPlain()
WHITE_PLACE_TO.sizeY = 20
wtDark = mainForm:GetChildChecked( "Dark", true )
wtDark:Show(false);
BLACK_PLACE = wtDark:GetPlacementPlain()
BLACK_PLACE_TO = wtDark:GetPlacementPlain()
BLACK_PLACE_TO.sizeY = 20
common.RegisterEventHandler( OnEventEffectFinished, "EVENT_EFFECT_FINISHED" )
common.RegisterEventHandler( OnEventObjectBuffAdded, "EVENT_OBJECT_BUFF_ADDED" )
end

--------------------------------------------------------------------------------
Init()
--------------------------------------------------------------------------------

 

Link to comment
Share on other sites

Guest evgeniipanzer

А откат показывает ? если вариант сделай дабы показывал

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...

Здравствуйте. Подскажите пожалуйста как можно сдвинуть черное крыло влево сантиметров на 10 и белое также в право? Заранее благодарен.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using our site you agree to the Terms of Use