[DiscordArchive] Does anyone know how to open a user frame with ...
[DiscordArchive] Does anyone know how to open a user frame with ...
Archived author: Needle • Posted: 2025-06-30T18:07:52.214000+00:00
Original source
Archived author: Needle • Posted: 2025-06-30T18:07:52.752000+00:00
Original source
Thread automatically created by JeimonkAs in <#415944535718494208>
Archived author: JeimonkAs • Posted: 2025-06-30T18:12:20.351000+00:00
Original source
or need use XML ? ty for help
Archived author: Kaev • Posted: 2025-06-30T18:22:04.483000+00:00
Original source
use /framestack to figure out the name of the frame and then you can access in the global space via `local yourFrame = _G["FrameName"]` and then just call `yourFrame:Show()` (everything on clientside)
Archived author: JeimonkAs • Posted: 2025-06-30T18:29:54.901000+00:00
Original source
local function OnMouseDown(_, button)
if button == "LeftButton" and UnitExists("target") then
local npcGUID = UnitGUID("target")
local npcID = GetNPCID(npcGUID)
if npcID == TARGET_NPC_ID and CheckInteractDistance("target", INTERACT_DISTANCE) then
myCustomFrame.UI.Functions.ShowWindow(npcGUID)
end
end
end
i try something like that
Archived author: JeimonkAs • Posted: 2025-06-30T18:49:41.775000+00:00
Original source
i mean custom interface , but i try something way to hook click on npc
Archived author: Kaev • Posted: 2025-06-30T18:58:13.392000+00:00
Original source
Create an AIO function that calls yourFrame:Show(); on the clientside. There are examples in the README.md and in the Examples folder in the AIO repo: https://github.com/Rochet2/AIO
[Embed: GitHub - Rochet2/AIO: AIO is a pure lua server-client communication...]
AIO is a pure lua server-client communication system for Eluna and WoW. - Rochet2/AIO
https://github.com/Rochet2/AIO
Archived author: JeimonkAs • Posted: 2025-06-30T20:32:04.796000+00:00
Original source
Nah,idk how hook click on npc/gob
i mean when i click to npc with quest/gossip flag i can close gossip menu and open my own frame, i have my frame on login to game,but now i stuck with moving it to npc function) sry for bad English
Archived author: Kaev • Posted: 2025-07-01T07:18:02.981000+00:00
Original source
You probably have Eluna running on your serverside. You can hook into the gossip event with RegisterCreatureGossipEvent: https://elunaluaengine.github.io/Global/...Event.html
From there you call your AIO function that will trigger the yourFrame:Show(); on the clientside.
[Embed: Global:RegisterCreatureGossipEvent - Eluna]
API documentation for the Global:RegisterCreatureGossipEvent method in the Eluna engine.
https://elunaluaengine.github.io/Global/...Event.html