Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] I assume you have an OnEvent function?

[DiscordArchive] I assume you have an OnEvent function?

[DiscordArchive] I assume you have an OnEvent function?

Pages (4): 1 2 3 4 Next
rektbyfaith
Administrator
0
04-21-2022, 06:46 PM
#1
Archived author: Foe • Posted: 2022-04-21T18:46:23.004000+00:00
Original source

I assume you have an OnEvent function?
rektbyfaith
04-21-2022, 06:46 PM #1

Archived author: Foe • Posted: 2022-04-21T18:46:23.004000+00:00
Original source

I assume you have an OnEvent function?

rektbyfaith
Administrator
0
04-21-2022, 06:46 PM
#2
Archived author: Clotic • Posted: 2022-04-21T18:46:43.035000+00:00
Original source

Yeah
rektbyfaith
04-21-2022, 06:46 PM #2

Archived author: Clotic • Posted: 2022-04-21T18:46:43.035000+00:00
Original source

Yeah

rektbyfaith
Administrator
0
04-21-2022, 06:47 PM
#3
Archived author: Clotic • Posted: 2022-04-21T18:47:13.442000+00:00
Original source

```
buttonGrid[i][j]:SetScript(
"OnEvent",
function(self, event)
if event == "UpdateWorldstatesUI" then
if playerLevel < i * 10 then
buttonGrid[i][j]Big Grinisable()
end
print("event: " .. event)

end
end
)```
rektbyfaith
04-21-2022, 06:47 PM #3

Archived author: Clotic • Posted: 2022-04-21T18:47:13.442000+00:00
Original source

```
buttonGrid[i][j]:SetScript(
"OnEvent",
function(self, event)
if event == "UpdateWorldstatesUI" then
if playerLevel < i * 10 then
buttonGrid[i][j]Big Grinisable()
end
print("event: " .. event)

end
end
)```

rektbyfaith
Administrator
0
04-21-2022, 06:47 PM
#4
Archived author: Clotic • Posted: 2022-04-21T18:47:32.397000+00:00
Original source

ingore the updateWorldStateUI was playerlevelbefore
rektbyfaith
04-21-2022, 06:47 PM #4

Archived author: Clotic • Posted: 2022-04-21T18:47:32.397000+00:00
Original source

ingore the updateWorldStateUI was playerlevelbefore

rektbyfaith
Administrator
0
04-21-2022, 06:47 PM
#5
Archived author: Clotic • Posted: 2022-04-21T18:47:33.599000+00:00
Original source

>_>
rektbyfaith
04-21-2022, 06:47 PM #5

Archived author: Clotic • Posted: 2022-04-21T18:47:33.599000+00:00
Original source

>_>

rektbyfaith
Administrator
0
04-21-2022, 06:53 PM
#6
Archived author: Foe • Posted: 2022-04-21T18:53:13.900000+00:00
Original source

You should replace the buttonGrid thing with self in that function
rektbyfaith
04-21-2022, 06:53 PM #6

Archived author: Foe • Posted: 2022-04-21T18:53:13.900000+00:00
Original source

You should replace the buttonGrid thing with self in that function

rektbyfaith
Administrator
0
04-21-2022, 06:54 PM
#7
Archived author: Foe • Posted: 2022-04-21T18:54:02.552000+00:00
Original source

It's probably out of scope the way you do it there whenever the event happens
rektbyfaith
04-21-2022, 06:54 PM #7

Archived author: Foe • Posted: 2022-04-21T18:54:02.552000+00:00
Original source

It's probably out of scope the way you do it there whenever the event happens

rektbyfaith
Administrator
0
04-21-2022, 06:54 PM
#8
Archived author: Clotic • Posted: 2022-04-21T18:54:12.130000+00:00
Original source

yap
rektbyfaith
04-21-2022, 06:54 PM #8

Archived author: Clotic • Posted: 2022-04-21T18:54:12.130000+00:00
Original source

yap

rektbyfaith
Administrator
0
04-21-2022, 06:54 PM
#9
Archived author: Foe • Posted: 2022-04-21T18:54:39.717000+00:00
Original source

Yeah you need to rewrite a lot of that logic
rektbyfaith
04-21-2022, 06:54 PM #9

Archived author: Foe • Posted: 2022-04-21T18:54:39.717000+00:00
Original source

Yeah you need to rewrite a lot of that logic

rektbyfaith
Administrator
0
04-21-2022, 06:54 PM
#10
Archived author: Clotic • Posted: 2022-04-21T18:54:54.754000+00:00
Original source

probably need to rewrite whole file tbh
rektbyfaith
04-21-2022, 06:54 PM #10

Archived author: Clotic • Posted: 2022-04-21T18:54:54.754000+00:00
Original source

probably need to rewrite whole file tbh

Pages (4): 1 2 3 4 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)