Forums WoW Modding Support Archives WoWModding Threads [DiscordArchive] Does anyone know how to open a user frame with ...

[DiscordArchive] Does anyone know how to open a user frame with ...

[DiscordArchive] Does anyone know how to open a user frame with ...

rektbyfaith
Administrator
0
06-30-2025, 06:07 PM
#1
Archived author: Needle • Posted: 2025-06-30T18:07:52.214000+00:00
Original source

rektbyfaith
06-30-2025, 06:07 PM #1

Archived author: Needle • Posted: 2025-06-30T18:07:52.214000+00:00
Original source

rektbyfaith
Administrator
0
06-30-2025, 06:07 PM
#2
Archived author: Needle • Posted: 2025-06-30T18:07:52.752000+00:00
Original source

Thread automatically created by JeimonkAs in <#415944535718494208>
rektbyfaith
06-30-2025, 06:07 PM #2

Archived author: Needle • Posted: 2025-06-30T18:07:52.752000+00:00
Original source

Thread automatically created by JeimonkAs in <#415944535718494208>

rektbyfaith
Administrator
0
06-30-2025, 06:12 PM
#3
Archived author: JeimonkAs • Posted: 2025-06-30T18:12:20.351000+00:00
Original source

or need use XML ? ty for help
rektbyfaith
06-30-2025, 06:12 PM #3

Archived author: JeimonkAs • Posted: 2025-06-30T18:12:20.351000+00:00
Original source

or need use XML ? ty for help

rektbyfaith
Administrator
0
06-30-2025, 06:22 PM
#4
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)
rektbyfaith
06-30-2025, 06:22 PM #4

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)

rektbyfaith
Administrator
0
06-30-2025, 06:29 PM
#5
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
rektbyfaith
06-30-2025, 06:29 PM #5

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

rektbyfaith
Administrator
0
06-30-2025, 06:49 PM
#6
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
rektbyfaith
06-30-2025, 06:49 PM #6

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

rektbyfaith
Administrator
0
06-30-2025, 06:58 PM
#7
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
rektbyfaith
06-30-2025, 06:58 PM #7

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

rektbyfaith
Administrator
0
06-30-2025, 08:32 PM
#8
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
rektbyfaith
06-30-2025, 08:32 PM #8

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

rektbyfaith
Administrator
0
07-01-2025, 07:18 AM
#9
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
rektbyfaith
07-01-2025, 07:18 AM #9

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

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)