Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] I don't want to get this wrong but since the gossip action is 1, how would you suggest I do that? Sh

[DiscordArchive] I don't want to get this wrong but since the gossip action is 1, how would you suggest I do that? Sh

[DiscordArchive] I don't want to get this wrong but since the gossip action is 1, how would you suggest I do that? Sh

Pages (5): Previous 1 2 3 4 5 Next
rektbyfaith
Administrator
0
10-18-2022, 07:51 PM
#21
Archived author: Foe • Posted: 2022-10-18T19:51:03.521000+00:00
Original source

You need to use instance data properly to keep track of whether the event has been completed or not
rektbyfaith
10-18-2022, 07:51 PM #21

Archived author: Foe • Posted: 2022-10-18T19:51:03.521000+00:00
Original source

You need to use instance data properly to keep track of whether the event has been completed or not

rektbyfaith
Administrator
0
10-18-2022, 07:52 PM
#22
Archived author: Revision • Posted: 2022-10-18T19:52:12.134000+00:00
Original source

If there isn't instance data implemented into his script, that means I have add it - I'm not quite sure how to do that correctly.
rektbyfaith
10-18-2022, 07:52 PM #22

Archived author: Revision • Posted: 2022-10-18T19:52:12.134000+00:00
Original source

If there isn't instance data implemented into his script, that means I have add it - I'm not quite sure how to do that correctly.

rektbyfaith
Administrator
0
10-18-2022, 07:52 PM
#23
Archived author: Foe • Posted: 2022-10-18T19:52:42.339000+00:00
Original source

Check how it's done in other instance scripts, Ahune event is a good parallel
rektbyfaith
10-18-2022, 07:52 PM #23

Archived author: Foe • Posted: 2022-10-18T19:52:42.339000+00:00
Original source

Check how it's done in other instance scripts, Ahune event is a good parallel

rektbyfaith
Administrator
0
10-18-2022, 07:54 PM
#24
Archived author: Foe • Posted: 2022-10-18T19:54:54.748000+00:00
Original source

Hm, it's not used in Ahune either, janky
rektbyfaith
10-18-2022, 07:54 PM #24

Archived author: Foe • Posted: 2022-10-18T19:54:54.748000+00:00
Original source

Hm, it's not used in Ahune either, janky

rektbyfaith
Administrator
0
10-18-2022, 07:57 PM
#25
Archived author: Foe • Posted: 2022-10-18T19:57:57.404000+00:00
Original source

https://github.com/azerothcore/azerothco...n.cpp#L436
[Embed: azerothcore-wotlk/instance_trial_of_the_champion.cpp at master · az...]
Complete Open Source and Modular solution for MMO. Contribute to azerothcore/azerothcore-wotlk development by creating an account on GitHub.
https://github.com/azerothcore/azerothco...ampion.cpp
rektbyfaith
10-18-2022, 07:57 PM #25

Archived author: Foe • Posted: 2022-10-18T19:57:57.404000+00:00
Original source

https://github.com/azerothcore/azerothco...n.cpp#L436
[Embed: azerothcore-wotlk/instance_trial_of_the_champion.cpp at master · az...]
Complete Open Source and Modular solution for MMO. Contribute to azerothcore/azerothcore-wotlk development by creating an account on GitHub.
https://github.com/azerothcore/azerothco...ampion.cpp

rektbyfaith
Administrator
0
10-18-2022, 07:58 PM
#26
Archived author: Foe • Posted: 2022-10-18T19:58:10.012000+00:00
Original source

and SetData to set the event state data ofc
rektbyfaith
10-18-2022, 07:58 PM #26

Archived author: Foe • Posted: 2022-10-18T19:58:10.012000+00:00
Original source

and SetData to set the event state data ofc

rektbyfaith
Administrator
0
10-18-2022, 07:58 PM
#27
Archived author: Foe • Posted: 2022-10-18T19:58:56.534000+00:00
Original source

I imagined AC had a built in way to handle set/get instance data like TC does, but guess not
rektbyfaith
10-18-2022, 07:58 PM #27

Archived author: Foe • Posted: 2022-10-18T19:58:56.534000+00:00
Original source

I imagined AC had a built in way to handle set/get instance data like TC does, but guess not

rektbyfaith
Administrator
0
10-18-2022, 08:00 PM
#28
Archived author: Revision • Posted: 2022-10-18T20:00:59.408000+00:00
Original source

Yeah, `DATA_HORSEMAN_EVENT` and `GAMEOBJECT_PUMPKIN_SHRINE` already exist in the SM instance script so it should be easy.. hopefully
rektbyfaith
10-18-2022, 08:00 PM #28

Archived author: Revision • Posted: 2022-10-18T20:00:59.408000+00:00
Original source

Yeah, `DATA_HORSEMAN_EVENT` and `GAMEOBJECT_PUMPKIN_SHRINE` already exist in the SM instance script so it should be easy.. hopefully

rektbyfaith
Administrator
0
10-18-2022, 08:03 PM
#29
Archived author: Foe • Posted: 2022-10-18T20:03:13.384000+00:00
Original source

just create an enum for states (not started, in progress, ended etc) and set the event data accordingly, then in the spawn script only allow to spawn the event if the event is not started
rektbyfaith
10-18-2022, 08:03 PM #29

Archived author: Foe • Posted: 2022-10-18T20:03:13.384000+00:00
Original source

just create an enum for states (not started, in progress, ended etc) and set the event data accordingly, then in the spawn script only allow to spawn the event if the event is not started

rektbyfaith
Administrator
0
10-18-2022, 08:04 PM
#30
Archived author: Foe • Posted: 2022-10-18T20:04:09.407000+00:00
Original source

I imagine failed is a proper state too, ie. on a wipe
rektbyfaith
10-18-2022, 08:04 PM #30

Archived author: Foe • Posted: 2022-10-18T20:04:09.407000+00:00
Original source

I imagine failed is a proper state too, ie. on a wipe

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