Jump to content

Digest October-December

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

December November October

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

PlayMoveEffect


jedbez

Recommended Posts

Никто не в курсе почему PlayMoveEffect смещается из начальной точки в конечную рывком, а не плавной анимацией?

Хоть и стоит EA_MONOTONOUS_INCREASE

 

Link to comment
Share on other sites

Может время равно 0?

Или в fromPlacement и toPlacement разное выравнивание?

Link to comment
Share on other sites

local indSmesh==0

 

function PlMoove()

local St = wtPanel:GetPlacementPlain()

local Ed = St

if indSmesh==0 then

   indSmesh=1

   Ed.posY = St.posY - 50

else

   indSmesh=0

   Ed.posY = St.posY + 50

end

wtPanel:PlayMoveEffect( St, Ed, 500, EA_MONOTONOUS_INCREASE )

end

 

Link to comment
Share on other sites

вместо

local Ed = St

напиши

local Ed = wtPanel:GetPlacementPlain()

А так, как написано у тебя, St  и Ed - одна таблица, меняя Ed, ты меняешь St

Link to comment
Share on other sites

Ооооо действительно, опять на теже грабли наступил.

Все работает, спс.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using our site you agree to the Terms of Use