Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Any reason why you don't just have a timed event tied to the creatures on spawn that checks for thei

[DiscordArchive] Any reason why you don't just have a timed event tied to the creatures on spawn that checks for thei

[DiscordArchive] Any reason why you don't just have a timed event tied to the creatures on spawn that checks for thei

Pages (6): Previous 1 2 3 4 5 6 Next
rektbyfaith
Administrator
0
04-24-2022, 11:47 AM
#11
Archived author: Foe • Posted: 2022-04-24T11:47:35.330000+00:00
Original source

Something like that
rektbyfaith
04-24-2022, 11:47 AM #11

Archived author: Foe • Posted: 2022-04-24T11:47:35.330000+00:00
Original source

Something like that

rektbyfaith
Administrator
0
04-24-2022, 12:06 PM
#12
Archived author: Honey • Posted: 2022-04-24T12:06:57.011000+00:00
Original source

Hmm yeah that looks doable for me. I Just need to make it arrays, then it's fine.
rektbyfaith
04-24-2022, 12:06 PM #12

Archived author: Honey • Posted: 2022-04-24T12:06:57.011000+00:00
Original source

Hmm yeah that looks doable for me. I Just need to make it arrays, then it's fine.

rektbyfaith
Administrator
0
04-24-2022, 12:09 PM
#13
Archived author: Foe • Posted: 2022-04-24T12:09:15.280000+00:00
Original source

It removes a lot of the higher level fetching of creatures and objects etc
rektbyfaith
04-24-2022, 12:09 PM #13

Archived author: Foe • Posted: 2022-04-24T12:09:15.280000+00:00
Original source

It removes a lot of the higher level fetching of creatures and objects etc

rektbyfaith
Administrator
0
04-24-2022, 12:09 PM
#14
Archived author: Foe • Posted: 2022-04-24T12:09:59.324000+00:00
Original source

And removes a lot of the need to keep track of event ID's, since they all get removed when the creatures are despawned
rektbyfaith
04-24-2022, 12:09 PM #14

Archived author: Foe • Posted: 2022-04-24T12:09:59.324000+00:00
Original source

And removes a lot of the need to keep track of event ID's, since they all get removed when the creatures are despawned

rektbyfaith
Administrator
0
04-24-2022, 12:10 PM
#15
Archived author: Honey • Posted: 2022-04-24T12:10:55.347000+00:00
Original source

Makes sense. Just inverse the success logic to let it fail If a creature is missing.
rektbyfaith
04-24-2022, 12:10 PM #15

Archived author: Honey • Posted: 2022-04-24T12:10:55.347000+00:00
Original source

Makes sense. Just inverse the success logic to let it fail If a creature is missing.

rektbyfaith
Administrator
0
04-24-2022, 02:05 PM
#16
Archived author: Foe • Posted: 2022-04-24T14:05:35.339000+00:00
Original source

That's what it does with the break in the OnEventEnd loop
rektbyfaith
04-24-2022, 02:05 PM #16

Archived author: Foe • Posted: 2022-04-24T14:05:35.339000+00:00
Original source

That's what it does with the break in the OnEventEnd loop

rektbyfaith
Administrator
0
04-24-2022, 02:05 PM
#17
Archived author: Foe • Posted: 2022-04-24T14:05:43.517000+00:00
Original source

It sets completed to false and skips the rest
rektbyfaith
04-24-2022, 02:05 PM #17

Archived author: Foe • Posted: 2022-04-24T14:05:43.517000+00:00
Original source

It sets completed to false and skips the rest

rektbyfaith
Administrator
0
04-24-2022, 02:06 PM
#18
Archived author: Foe • Posted: 2022-04-24T14:06:08.717000+00:00
Original source

So if anything is not flagged as full hp, it just sets the event to failed
rektbyfaith
04-24-2022, 02:06 PM #18

Archived author: Foe • Posted: 2022-04-24T14:06:08.717000+00:00
Original source

So if anything is not flagged as full hp, it just sets the event to failed

rektbyfaith
Administrator
0
04-24-2022, 03:01 PM
#19
Archived author: Honey • Posted: 2022-04-24T15:01:47.927000+00:00
Original source

Now i remember why i didn't do it that way.
I can't tell in the OnSpawn event, which player's spawn this is in which phase. There can be 16 players simultaneously in different phases, hence the `phaseId` variable.
rektbyfaith
04-24-2022, 03:01 PM #19

Archived author: Honey • Posted: 2022-04-24T15:01:47.927000+00:00
Original source

Now i remember why i didn't do it that way.
I can't tell in the OnSpawn event, which player's spawn this is in which phase. There can be 16 players simultaneously in different phases, hence the `phaseId` variable.

rektbyfaith
Administrator
0
04-24-2022, 03:04 PM
#20
Archived author: Honey • Posted: 2022-04-24T15:04:18.858000+00:00
Original source

Well, i can keep storing the lowguid when i use `SpawnCreature`
Looks like i need a total re-write now.
rektbyfaith
04-24-2022, 03:04 PM #20

Archived author: Honey • Posted: 2022-04-24T15:04:18.858000+00:00
Original source

Well, i can keep storing the lowguid when i use `SpawnCreature`
Looks like i need a total re-write now.

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