Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Yes, but is there any neat way to write this logic? Any hooks to attach to or functions to override?

[DiscordArchive] Yes, but is there any neat way to write this logic? Any hooks to attach to or functions to override?

[DiscordArchive] Yes, but is there any neat way to write this logic? Any hooks to attach to or functions to override?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
11-10-2023, 04:57 PM
#1
Archived author: Fred • Posted: 2023-11-10T16:57:05.308000+00:00
Original source

Yes, but is there any neat way to write this logic? Any hooks to attach to or functions to override?
rektbyfaith
11-10-2023, 04:57 PM #1

Archived author: Fred • Posted: 2023-11-10T16:57:05.308000+00:00
Original source

Yes, but is there any neat way to write this logic? Any hooks to attach to or functions to override?

rektbyfaith
Administrator
0
11-10-2023, 04:57 PM
#2
Archived author: tester • Posted: 2023-11-10T16:57:09.003000+00:00
Original source

if you're using eluna it has a way to run a function in X seconds that you can use
rektbyfaith
11-10-2023, 04:57 PM #2

Archived author: tester • Posted: 2023-11-10T16:57:09.003000+00:00
Original source

if you're using eluna it has a way to run a function in X seconds that you can use

rektbyfaith
Administrator
0
11-10-2023, 04:58 PM
#3
Archived author: Rymercyble • Posted: 2023-11-10T16:58:06.181000+00:00
Original source

that or in c++ i often use new threads
rektbyfaith
11-10-2023, 04:58 PM #3

Archived author: Rymercyble • Posted: 2023-11-10T16:58:06.181000+00:00
Original source

that or in c++ i often use new threads

rektbyfaith
Administrator
0
11-10-2023, 04:59 PM
#4
Archived author: robinsch • Posted: 2023-11-10T16:59:02.187000+00:00
Original source

Use a periodic dummy
rektbyfaith
11-10-2023, 04:59 PM #4

Archived author: robinsch • Posted: 2023-11-10T16:59:02.187000+00:00
Original source

Use a periodic dummy

rektbyfaith
Administrator
0
11-10-2023, 04:59 PM
#5
Archived author: Fred • Posted: 2023-11-10T16:59:04.627000+00:00
Original source

My end goal is: have a spell apply a health mod aura for X hp, every 5 seconds, recalculate the health based on some condition.
rektbyfaith
11-10-2023, 04:59 PM #5

Archived author: Fred • Posted: 2023-11-10T16:59:04.627000+00:00
Original source

My end goal is: have a spell apply a health mod aura for X hp, every 5 seconds, recalculate the health based on some condition.

rektbyfaith
Administrator
0
11-10-2023, 04:59 PM
#6
Archived author: Fred • Posted: 2023-11-10T16:59:21.396000+00:00
Original source

Alright, thanks guys!
rektbyfaith
11-10-2023, 04:59 PM #6

Archived author: Fred • Posted: 2023-11-10T16:59:21.396000+00:00
Original source

Alright, thanks guys!

rektbyfaith
Administrator
0
11-10-2023, 04:59 PM
#7
Archived author: robinsch • Posted: 2023-11-10T16:59:22.274000+00:00
Original source

That you can just spell script in AuraScript
rektbyfaith
11-10-2023, 04:59 PM #7

Archived author: robinsch • Posted: 2023-11-10T16:59:22.274000+00:00
Original source

That you can just spell script in AuraScript

rektbyfaith
Administrator
0
11-10-2023, 04:59 PM
#8
Archived author: Rymercyble • Posted: 2023-11-10T16:59:45.206000+00:00
Original source

u could also think about reworking it from periodic to reactive
rektbyfaith
11-10-2023, 04:59 PM #8

Archived author: Rymercyble • Posted: 2023-11-10T16:59:45.206000+00:00
Original source

u could also think about reworking it from periodic to reactive

rektbyfaith
Administrator
0
11-10-2023, 05:02 PM
#9
Archived author: Fred • Posted: 2023-11-10T17:02:22.538000+00:00
Original source

Absolutely, but I want to be a bit lazy here and not necessarily do it the best way -- good enough is what I'm after here. If I were to do it in a reactive manner, I would need to spread the load throughout multiple update ticks to not introduce some spikes in some update where this event would trigger and for what I'm building I think adding complexity is not necessary.
rektbyfaith
11-10-2023, 05:02 PM #9

Archived author: Fred • Posted: 2023-11-10T17:02:22.538000+00:00
Original source

Absolutely, but I want to be a bit lazy here and not necessarily do it the best way -- good enough is what I'm after here. If I were to do it in a reactive manner, I would need to spread the load throughout multiple update ticks to not introduce some spikes in some update where this event would trigger and for what I'm building I think adding complexity is not necessary.

rektbyfaith
Administrator
0
11-10-2023, 05:02 PM
#10
Archived author: Fred • Posted: 2023-11-10T17:02:30.507000+00:00
Original source

Unless there is a easy way that I'm not aware of, of course
rektbyfaith
11-10-2023, 05:02 PM #10

Archived author: Fred • Posted: 2023-11-10T17:02:30.507000+00:00
Original source

Unless there is a easy way that I'm not aware of, of course

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