Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] <@216234897390436353> what are the new conversation changes?

[DiscordArchive] <@216234897390436353> what are the new conversation changes?

[DiscordArchive] <@216234897390436353> what are the new conversation changes?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
06-22-2023, 03:30 PM
#11
Archived author: Malcrom • Posted: 2023-06-22T15:30:06.717000+00:00
Original source

Good
rektbyfaith
06-22-2023, 03:30 PM #11

Archived author: Malcrom • Posted: 2023-06-22T15:30:06.717000+00:00
Original source

Good

rektbyfaith
Administrator
0
06-22-2023, 03:30 PM
#12
Archived author: ModoX • Posted: 2023-06-22T15:30:21.648000+00:00
Original source

```c
void OnConversationStart(Conversation* conversation) override
{
LocaleConstant privateOwnerLocale = LOCALE_enUS;
if (Player* owner = ObjectAccessor::GetPlayer(*conversation, conversation->GetPrivateObjectOwner()))
privateOwnerLocale = owner->GetSession()->GetSessionDbLocaleIndex();

if (Milliseconds const* teleportLineStartTime = conversation->GetLineStartTime(privateOwnerLocale, CONV_LINE_VANESSA_TELEPORT))
_events.ScheduleEvent(EVENT_VANESSA_TELEPORT, *teleportLineStartTime);
}
```
rektbyfaith
06-22-2023, 03:30 PM #12

Archived author: ModoX • Posted: 2023-06-22T15:30:21.648000+00:00
Original source

```c
void OnConversationStart(Conversation* conversation) override
{
LocaleConstant privateOwnerLocale = LOCALE_enUS;
if (Player* owner = ObjectAccessor::GetPlayer(*conversation, conversation->GetPrivateObjectOwner()))
privateOwnerLocale = owner->GetSession()->GetSessionDbLocaleIndex();

if (Milliseconds const* teleportLineStartTime = conversation->GetLineStartTime(privateOwnerLocale, CONV_LINE_VANESSA_TELEPORT))
_events.ScheduleEvent(EVENT_VANESSA_TELEPORT, *teleportLineStartTime);
}
```

rektbyfaith
Administrator
0
06-22-2023, 03:30 PM
#13
Archived author: ModoX • Posted: 2023-06-22T15:30:37.121000+00:00
Original source

you can do something like that when pr is merged
rektbyfaith
06-22-2023, 03:30 PM #13

Archived author: ModoX • Posted: 2023-06-22T15:30:37.121000+00:00
Original source

you can do something like that when pr is merged

rektbyfaith
Administrator
0
06-22-2023, 03:30 PM
#14
Archived author: ModoX • Posted: 2023-06-22T15:30:48.671000+00:00
Original source

that would create timer based on private object owner locale
rektbyfaith
06-22-2023, 03:30 PM #14

Archived author: ModoX • Posted: 2023-06-22T15:30:48.671000+00:00
Original source

that would create timer based on private object owner locale

rektbyfaith
Administrator
0
06-22-2023, 03:30 PM
#15
Archived author: ModoX • Posted: 2023-06-22T15:30:54.823000+00:00
Original source

so the npc always ports at proper timing
rektbyfaith
06-22-2023, 03:30 PM #15

Archived author: ModoX • Posted: 2023-06-22T15:30:54.823000+00:00
Original source

so the npc always ports at proper timing

rektbyfaith
Administrator
0
06-22-2023, 03:32 PM
#16
Archived author: Malcrom • Posted: 2023-06-22T15:32:00.390000+00:00
Original source

How is one to know they have to do it differently for a language you do not use?
rektbyfaith
06-22-2023, 03:32 PM #16

Archived author: Malcrom • Posted: 2023-06-22T15:32:00.390000+00:00
Original source

How is one to know they have to do it differently for a language you do not use?

rektbyfaith
Administrator
0
06-22-2023, 03:41 PM
#17
Archived author: ModoX • Posted: 2023-06-22T15:41:21.737000+00:00
Original source

if its timing perfect when speechbubble appears above an npcs head
rektbyfaith
06-22-2023, 03:41 PM #17

Archived author: ModoX • Posted: 2023-06-22T15:41:21.737000+00:00
Original source

if its timing perfect when speechbubble appears above an npcs head

rektbyfaith
Administrator
0
06-22-2023, 03:41 PM
#18
Archived author: ModoX • Posted: 2023-06-22T15:41:57.382000+00:00
Original source

e.g. here <https://youtu.be/XKy9ihJ8pY4?t=56>
rektbyfaith
06-22-2023, 03:41 PM #18

Archived author: ModoX • Posted: 2023-06-22T15:41:57.382000+00:00
Original source

e.g. here <https://youtu.be/XKy9ihJ8pY4?t=56>

rektbyfaith
Administrator
0
06-22-2023, 03:46 PM
#19
Archived author: Malcrom • Posted: 2023-06-22T15:46:20.385000+00:00
Original source

Nice work
rektbyfaith
06-22-2023, 03:46 PM #19

Archived author: Malcrom • Posted: 2023-06-22T15:46:20.385000+00:00
Original source

Nice work

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