Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] am i doing something wrong if it doesn't want to fire either "OnShow" or "OnUpdate" or do some frame

[DiscordArchive] am i doing something wrong if it doesn't want to fire either "OnShow" or "OnUpdate" or do some frame

[DiscordArchive] am i doing something wrong if it doesn't want to fire either "OnShow" or "OnUpdate" or do some frame

rektbyfaith
Administrator
0
04-04-2022, 07:06 PM
#1
Archived author: <o> • Posted: 2022-04-04T19:06:02.259000+00:00
Original source

am i doing something wrong if it doesn't want to fire either "OnShow" or "OnUpdate" or do some frames not emit those?
rektbyfaith
04-04-2022, 07:06 PM #1

Archived author: <o> • Posted: 2022-04-04T19:06:02.259000+00:00
Original source

am i doing something wrong if it doesn't want to fire either "OnShow" or "OnUpdate" or do some frames not emit those?

rektbyfaith
Administrator
0
04-04-2022, 07:06 PM
#2
Archived author: tester • Posted: 2022-04-04T19:06:24.305000+00:00
Original source

and maybe like
```
function functionToTest(tooltip)
if tooltip:GetUnit() or tooltip:GetItem() or tooltip:GetSpell() then return end
local titleText = _G[tooltip:GetName() .. "TextLeft1"]:GetText()
if not titleText then return end
print("Tooltip shown with title", titleText)
end
```
rektbyfaith
04-04-2022, 07:06 PM #2

Archived author: tester • Posted: 2022-04-04T19:06:24.305000+00:00
Original source

and maybe like
```
function functionToTest(tooltip)
if tooltip:GetUnit() or tooltip:GetItem() or tooltip:GetSpell() then return end
local titleText = _G[tooltip:GetName() .. "TextLeft1"]:GetText()
if not titleText then return end
print("Tooltip shown with title", titleText)
end
```

rektbyfaith
Administrator
0
04-04-2022, 07:06 PM
#3
Archived author: tester • Posted: 2022-04-04T19:06:34.172000+00:00
Original source

but OnShow should fire, i've used it before on gametooltip
rektbyfaith
04-04-2022, 07:06 PM #3

Archived author: tester • Posted: 2022-04-04T19:06:34.172000+00:00
Original source

but OnShow should fire, i've used it before on gametooltip

rektbyfaith
Administrator
0
04-04-2022, 07:07 PM
#4
Archived author: <o> • Posted: 2022-04-04T19:07:46.316000+00:00
Original source

right, now it does, probably messed something up
rektbyfaith
04-04-2022, 07:07 PM #4

Archived author: <o> • Posted: 2022-04-04T19:07:46.316000+00:00
Original source

right, now it does, probably messed something up

rektbyfaith
Administrator
0
04-04-2022, 07:07 PM
#5
Archived author: <o> • Posted: 2022-04-04T19:07:58.405000+00:00
Original source

but yeah i can work with that, thanks!
rektbyfaith
04-04-2022, 07:07 PM #5

Archived author: <o> • Posted: 2022-04-04T19:07:58.405000+00:00
Original source

but yeah i can work with that, thanks!

rektbyfaith
Administrator
0
04-04-2022, 07:22 PM
#6
Archived author: AngryPenguinStudio • Posted: 2022-04-04T19:22:53.122000+00:00
Original source

Do you know the relationship between the files?
Trying to find out how they are linked together and pulling data (only character create). So how the dbc is linked to the XML being linked to the LUA. How the GlueParent and GlueStrings ties into it all as well.
rektbyfaith
04-04-2022, 07:22 PM #6

Archived author: AngryPenguinStudio • Posted: 2022-04-04T19:22:53.122000+00:00
Original source

Do you know the relationship between the files?
Trying to find out how they are linked together and pulling data (only character create). So how the dbc is linked to the XML being linked to the LUA. How the GlueParent and GlueStrings ties into it all as well.

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