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

Results of the competition "Allods and Life"

Stories, that warm souls.

Read More

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

Возращаемое значение функции unit.IsPlayer( unit_id )


Recommended Posts

Кто-нибудь сталкивался, что функция:

 unit.IsPlayer( unit_id ) 

возвращает иногда значение "true" для петов?


Например, в моем случае для пета шамана иногда возвращает значение "true".

Link to comment
Share on other sites

было у меня такое в первых версиях таргетера, в режиме мобы отображались петы)

была проверка if not unit.IsPlayer( player ) then

пришлось переделать на if not unit.IsPlayer( player )  and unit.IsPet(player)==false then

Link to comment
Share on other sites

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