Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Do you have the texts in the creature_text table?

[DiscordArchive] Do you have the texts in the creature_text table?

[DiscordArchive] Do you have the texts in the creature_text table?

rektbyfaith
Administrator
0
04-02-2020, 12:22 PM
#1
Archived author: stevej • Posted: 2020-04-02T12:22:50.898000+00:00
Original source

Do you have the texts in the creature_text table?
rektbyfaith
04-02-2020, 12:22 PM #1

Archived author: stevej • Posted: 2020-04-02T12:22:50.898000+00:00
Original source

Do you have the texts in the creature_text table?

rektbyfaith
Administrator
0
04-02-2020, 12:41 PM
#2
Archived author: stevej • Posted: 2020-04-02T12:41:09.120000+00:00
Original source

```c++
void CreatureAI::Talk(uint8 id, WorldObject const* whisperTarget /*= NULL*/)
{
sCreatureTextMgr->SendChat(me, id, whisperTarget);
}

void EnterCombat(Unit* /*who*/)
{
Talk(SAY_AGGRO);
me->setActive(true);
DoZoneInCombat();
instance->SetBossState(DATA_LORD_MARROWGAR, IN_PROGRESS);
}
```
rektbyfaith
04-02-2020, 12:41 PM #2

Archived author: stevej • Posted: 2020-04-02T12:41:09.120000+00:00
Original source

```c++
void CreatureAI::Talk(uint8 id, WorldObject const* whisperTarget /*= NULL*/)
{
sCreatureTextMgr->SendChat(me, id, whisperTarget);
}

void EnterCombat(Unit* /*who*/)
{
Talk(SAY_AGGRO);
me->setActive(true);
DoZoneInCombat();
instance->SetBossState(DATA_LORD_MARROWGAR, IN_PROGRESS);
}
```

rektbyfaith
Administrator
0
04-02-2020, 12:41 PM
#3
Archived author: stevej • Posted: 2020-04-02T12:41:47.587000+00:00
Original source

For example, the icc boss, does not use AI()->Talk(), directly invoked to the Talk() method
rektbyfaith
04-02-2020, 12:41 PM #3

Archived author: stevej • Posted: 2020-04-02T12:41:47.587000+00:00
Original source

For example, the icc boss, does not use AI()->Talk(), directly invoked to the Talk() method

rektbyfaith
Administrator
0
04-02-2020, 12:41 PM
#4
Archived author: Kitzunu • Posted: 2020-04-02T12:41:57.307000+00:00
Original source

> Do you have the texts in the creature_text table?
<@!295970375571865600> yes
rektbyfaith
04-02-2020, 12:41 PM #4

Archived author: Kitzunu • Posted: 2020-04-02T12:41:57.307000+00:00
Original source

> Do you have the texts in the creature_text table?
<@!295970375571865600> yes

rektbyfaith
Administrator
0
04-02-2020, 12:42 PM
#5
Archived author: stevej • Posted: 2020-04-02T12:42:50.540000+00:00
Original source

I'm sure it used to be used differently. But I don't know who or when or why it was changed. I suppose you have a reason.
rektbyfaith
04-02-2020, 12:42 PM #5

Archived author: stevej • Posted: 2020-04-02T12:42:50.540000+00:00
Original source

I'm sure it used to be used differently. But I don't know who or when or why it was changed. I suppose you have a reason.

rektbyfaith
Administrator
0
04-02-2020, 12:48 PM
#6
Archived author: Kitzunu • Posted: 2020-04-02T12:48:16.058000+00:00
Original source

If I understand creature_text wiki correctly if we do
```cpp
enum Texts
{
SAY_AGGRO = 0,
};

void EnterCombat(Unit* victim) override
{
...
Talk(SAY_AGGRO); // interesting!
}
```
Then that 0 is = creature_text.GroupID
rektbyfaith
04-02-2020, 12:48 PM #6

Archived author: Kitzunu • Posted: 2020-04-02T12:48:16.058000+00:00
Original source

If I understand creature_text wiki correctly if we do
```cpp
enum Texts
{
SAY_AGGRO = 0,
};

void EnterCombat(Unit* victim) override
{
...
Talk(SAY_AGGRO); // interesting!
}
```
Then that 0 is = creature_text.GroupID

rektbyfaith
Administrator
0
04-02-2020, 12:50 PM
#7
Archived author: Kitzunu • Posted: 2020-04-02T12:50:55.018000+00:00
Original source

Which I buy, but what I dont understand is if for example:

Say this is a LDW fight, and the cultists should say something.
How would I make sure that what the cultists say come from the cultists entries in creature_text
rektbyfaith
04-02-2020, 12:50 PM #7

Archived author: Kitzunu • Posted: 2020-04-02T12:50:55.018000+00:00
Original source

Which I buy, but what I dont understand is if for example:

Say this is a LDW fight, and the cultists should say something.
How would I make sure that what the cultists say come from the cultists entries in creature_text

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)