Jump to content
Alloder.pro  about Allods with love 😱
Search In
  • More options...
Find results that contain...
Find results in...

Servers monitoring and the Addons Editor

We present you two legends. All dreams come true.

Servers monitoring The Addons Editor

Digest April

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

Read more

Game tooltips

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

Read more

Вопрос о скиллах


Oberon
 Share

Recommended Posts

Вечер добрый, нужна помощь.

 

Нужно получить информацию, активно ли умение, или нет. Например, помощник "сорока" или "фея".

Так же, если возможно, есть ли возможность их включать/выключать из аддона?

 

В CategorySkill ничего полезного по этому поводу не нашел.

 

Спасибо,

Link to comment
Share on other sites

spellLib.GetState( SpellId ).isActive

avatar.RunSpell( spellId ) по клику

Спасибо, разобрался. В чем была загвоздка - я использую версию 4.0.02, в которой ещё отсутствует spellLib, но решил проблему с помощью avatar.GetSpellInfo( id ). :)

Link to comment
Share on other sites

Дабы не создавать тему новую, задам новый вопрос в этой же.

 

Никак не могу найти функцию, которая возвращает имя моба по unitId. Нашел CategoryUnitInfo, в которой можно получить всё что угодно, кроме имени юнита: раса, пол, титул, дружественный юнит, или нет, и т.п.. А имени нет.

 

Подскажите пожалуйста.

 

Спасибо,

 

п.с.: разобрался. :) object.GetName( unitId )

Edited by Oberon
Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...

Important Information

By using our site you agree to the Terms of Use