Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] <@200677690838220800> why are we using SetNpcFlag in Creature::SetVendor? Not sure if I'm reading co

[DiscordArchive] <@200677690838220800> why are we using SetNpcFlag in Creature::SetVendor? Not sure if I'm reading co

[DiscordArchive] <@200677690838220800> why are we using SetNpcFlag in Creature::SetVendor? Not sure if I'm reading co

rektbyfaith
Administrator
0
01-23-2025, 05:50 PM
#1
Archived author: Telegrill • Posted: 2025-01-23T17:50:35.677000+00:00
Original source

<@200677690838220800> why are we using SetNpcFlag in Creature::SetVendor? Not sure if I'm reading correctly, but when it is called in UpdateEntry, it overrides any existing flag?
rektbyfaith
01-23-2025, 05:50 PM #1

Archived author: Telegrill • Posted: 2025-01-23T17:50:35.677000+00:00
Original source

<@200677690838220800> why are we using SetNpcFlag in Creature::SetVendor? Not sure if I'm reading correctly, but when it is called in UpdateEntry, it overrides any existing flag?

rektbyfaith
Administrator
0
01-23-2025, 05:53 PM
#2
Archived author: MaxtorCoder • Posted: 2025-01-23T17:53:36.556000+00:00
Original source

It does override any existing flag yes
rektbyfaith
01-23-2025, 05:53 PM #2

Archived author: MaxtorCoder • Posted: 2025-01-23T17:53:36.556000+00:00
Original source

It does override any existing flag yes

rektbyfaith
Administrator
0
01-23-2025, 05:53 PM
#3
Archived author: MaxtorCoder • Posted: 2025-01-23T17:53:45.237000+00:00
Original source

I am pretty sure it should be AddNpcFlag
rektbyfaith
01-23-2025, 05:53 PM #3

Archived author: MaxtorCoder • Posted: 2025-01-23T17:53:45.237000+00:00
Original source

I am pretty sure it should be AddNpcFlag

rektbyfaith
Administrator
0
01-23-2025, 05:54 PM
#4
Archived author: Tea • Posted: 2025-01-23T17:54:21.672000+00:00
Original source

no
rektbyfaith
01-23-2025, 05:54 PM #4

Archived author: Tea • Posted: 2025-01-23T17:54:21.672000+00:00
Original source

no

rektbyfaith
Administrator
0
01-23-2025, 05:54 PM
#5
Archived author: Tea • Posted: 2025-01-23T17:54:29.902000+00:00
Original source

Set combines flags
rektbyfaith
01-23-2025, 05:54 PM #5

Archived author: Tea • Posted: 2025-01-23T17:54:29.902000+00:00
Original source

Set combines flags

rektbyfaith
Administrator
0
01-23-2025, 05:54 PM
#6
Archived author: MaxtorCoder • Posted: 2025-01-23T17:54:36.969000+00:00
Original source

Wait what
rektbyfaith
01-23-2025, 05:54 PM #6

Archived author: MaxtorCoder • Posted: 2025-01-23T17:54:36.969000+00:00
Original source

Wait what

rektbyfaith
Administrator
0
01-23-2025, 05:54 PM
#7
Archived author: Tea • Posted: 2025-01-23T17:54:38.486000+00:00
Original source

ReplaceAll overrides
rektbyfaith
01-23-2025, 05:54 PM #7

Archived author: Tea • Posted: 2025-01-23T17:54:38.486000+00:00
Original source

ReplaceAll overrides

rektbyfaith
Administrator
0
01-23-2025, 05:54 PM
#8
Archived author: MaxtorCoder • Posted: 2025-01-23T17:54:42.706000+00:00
Original source

That name is a bit misleading tbh
rektbyfaith
01-23-2025, 05:54 PM #8

Archived author: MaxtorCoder • Posted: 2025-01-23T17:54:42.706000+00:00
Original source

That name is a bit misleading tbh

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