Jump to content

Digest Jan-Feb

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

January February

Servers monitoring and the Addons Editor

We present you two legends. All dreams come true.

Servers monitoring The Addons Editor

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

нотификатор


icreator

Recommended Posts

AONotifications.zip

ссылка на програмку - внизу страницы

вот как я слала сообщения в WhisperWindow

Code:
function LogToChatWWVT(valuedText, name)

local sender = name or ADDONname --- object.GetName(avatar.GetId())

if not common.IsWString(sender) then sender = userMods.ToWString(sender) end

local senderId = avatar.IsExist() and avatar.GetId()

local chatType = CHAT_TYPE_NOTICE --- -1 ---CHAT_TYPE_NOTICE ---CHAT_TYPE_WHISPER --- = -1 --- от аддонов

local recipient = sender

userMods.SendEvent("EVENT_CHAT_MESSAGE_WITH_OBJECTS", { msg = valuedText, chatType = chatType, sender = sender, isEcho=true, isAlive=true, recipient = recipient, senderId = senderId})

end

Link to comment
Share on other sites

если надо отследить системное сообщение то

Code:
function OnEventMatchMakingTeleportRequest( eventParams ) 

LogInfo("0|Вас пригласили присоедениться к сражению")

end

function OnEventChatMessage( params )

if params.chatType == CHAT_TYPE_NOTICE then

LogInfo("1|Кто-то шепчет вам")

end

end

common.RegisterEventHandler( OnEventMatchMakingTeleportRequest, "EVENT_MATCH_MAKING_EVENT_TELEPORT_REQUEST" )

common.RegisterEventHandler( OnEventChatMessage, "EVENT_CHAT_MESSAGE" )

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.

×
×
  • Create New...

Important Information

By using our site you agree to the Terms of Use