Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] > i would change local tooltipFrame = CreateFrame("Frame", nil, treeFrame) to local tooltipFrame = C

[DiscordArchive] > i would change local tooltipFrame = CreateFrame("Frame", nil, treeFrame) to local tooltipFrame = C

[DiscordArchive] > i would change local tooltipFrame = CreateFrame("Frame", nil, treeFrame) to local tooltipFrame = C

Pages (5): Previous 1 2 3 4 5 Next
rektbyfaith
Administrator
0
11-10-2023, 04:23 PM
#31
Archived author: tester • Posted: 2023-11-10T16:23:21.483000+00:00
Original source

damn typed before me
rektbyfaith
11-10-2023, 04:23 PM #31

Archived author: tester • Posted: 2023-11-10T16:23:21.483000+00:00
Original source

damn typed before me

rektbyfaith
Administrator
0
11-10-2023, 04:23 PM
#32
Archived author: tester • Posted: 2023-11-10T16:23:49.762000+00:00
Original source

because you can do like
```
local func = return function(x, y)
...
return n1, n2
end
```
and then call func(var1,var2)
rektbyfaith
11-10-2023, 04:23 PM #32

Archived author: tester • Posted: 2023-11-10T16:23:49.762000+00:00
Original source

because you can do like
```
local func = return function(x, y)
...
return n1, n2
end
```
and then call func(var1,var2)

rektbyfaith
Administrator
0
11-10-2023, 04:23 PM
#33
Archived author: robinsch • Posted: 2023-11-10T16:23:53.040000+00:00
Original source

Yeah client uses it for so called simple scripts (e.g. for missile motions scripts)
rektbyfaith
11-10-2023, 04:23 PM #33

Archived author: robinsch • Posted: 2023-11-10T16:23:53.040000+00:00
Original source

Yeah client uses it for so called simple scripts (e.g. for missile motions scripts)

rektbyfaith
Administrator
0
11-10-2023, 04:27 PM
#34
Archived author: tester • Posted: 2023-11-10T16:27:13.351000+00:00
Original source

after using it once i questioned why do it when i can just make it a named func in other places and pass in any changes, so it felt sorta redundant but it is a choice
rektbyfaith
11-10-2023, 04:27 PM #34

Archived author: tester • Posted: 2023-11-10T16:27:13.351000+00:00
Original source

after using it once i questioned why do it when i can just make it a named func in other places and pass in any changes, so it felt sorta redundant but it is a choice

rektbyfaith
Administrator
0
11-10-2023, 04:28 PM
#35
Archived author: robinsch • Posted: 2023-11-10T16:28:05.829000+00:00
Original source

I think they don't want to pollute the global state
rektbyfaith
11-10-2023, 04:28 PM #35

Archived author: robinsch • Posted: 2023-11-10T16:28:05.829000+00:00
Original source

I think they don't want to pollute the global state

rektbyfaith
Administrator
0
11-10-2023, 04:33 PM
#36
Archived author: tester • Posted: 2023-11-10T16:33:49.975000+00:00
Original source

i found that said functions took longer to run than just having a single one made though. - granted it was a small margin and is mostly only a problem for very frequently called functions
rektbyfaith
11-10-2023, 04:33 PM #36

Archived author: tester • Posted: 2023-11-10T16:33:49.975000+00:00
Original source

i found that said functions took longer to run than just having a single one made though. - granted it was a small margin and is mostly only a problem for very frequently called functions

rektbyfaith
Administrator
0
11-10-2023, 04:50 PM
#37
Archived author: Fred • Posted: 2023-11-10T16:50:00.683000+00:00
Original source

Hey folks, I have a SpellScript and AuraScript pair and would like to run some logic on like "Update(uint32 deltaTime)" for this spell, what's the way to go about this? My end goal is to check some condition every 5 seconds and remove the spell/aura if it's not met.
rektbyfaith
11-10-2023, 04:50 PM #37

Archived author: Fred • Posted: 2023-11-10T16:50:00.683000+00:00
Original source

Hey folks, I have a SpellScript and AuraScript pair and would like to run some logic on like "Update(uint32 deltaTime)" for this spell, what's the way to go about this? My end goal is to check some condition every 5 seconds and remove the spell/aura if it's not met.

rektbyfaith
Administrator
0
11-10-2023, 04:50 PM
#38
Archived author: Fred • Posted: 2023-11-10T16:50:22.068000+00:00
Original source

This is not a periodic spell but one that simply stays on infinitely with let's say +100 health. For AzerothCore.
rektbyfaith
11-10-2023, 04:50 PM #38

Archived author: Fred • Posted: 2023-11-10T16:50:22.068000+00:00
Original source

This is not a periodic spell but one that simply stays on infinitely with let's say +100 health. For AzerothCore.

rektbyfaith
Administrator
0
11-10-2023, 04:51 PM
#39
Archived author: Rymercyble • Posted: 2023-11-10T16:51:42.099000+00:00
Original source

if its for npc use scheduler if its for player im not so sure on update would work but more stuff u do on update the worse it gets
rektbyfaith
11-10-2023, 04:51 PM #39

Archived author: Rymercyble • Posted: 2023-11-10T16:51:42.099000+00:00
Original source

if its for npc use scheduler if its for player im not so sure on update would work but more stuff u do on update the worse it gets

rektbyfaith
Administrator
0
11-10-2023, 04:52 PM
#40
Archived author: tester • Posted: 2023-11-10T16:52:20.147000+00:00
Original source

you could cheat and use a player/client-side timer that sends am essage to the server every x seconds to telll it to check on that specific player.
rektbyfaith
11-10-2023, 04:52 PM #40

Archived author: tester • Posted: 2023-11-10T16:52:20.147000+00:00
Original source

you could cheat and use a player/client-side timer that sends am essage to the server every x seconds to telll it to check on that specific player.

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