Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] So 6018 is Ur'Kyo, one of the many priest trainers... what if I changed his gossip_menu_id to that o

[DiscordArchive] So 6018 is Ur'Kyo, one of the many priest trainers... what if I changed his gossip_menu_id to that o

[DiscordArchive] So 6018 is Ur'Kyo, one of the many priest trainers... what if I changed his gossip_menu_id to that o

Pages (10): 1 2 3 4 5 10 Next  
rektbyfaith
Administrator
0
09-28-2024, 02:36 PM
#1
Archived author: Agent • Posted: 2024-09-28T14:36:02.169000+00:00
Original source

So 6018 is Ur'Kyo, one of the many priest trainers... what if I changed his gossip_menu_id to that of a mage trainer... I suspect he'd then tell me to go away cause I"m not a mage, right?
rektbyfaith
09-28-2024, 02:36 PM #1

Archived author: Agent • Posted: 2024-09-28T14:36:02.169000+00:00
Original source

So 6018 is Ur'Kyo, one of the many priest trainers... what if I changed his gossip_menu_id to that of a mage trainer... I suspect he'd then tell me to go away cause I"m not a mage, right?

rektbyfaith
Administrator
0
09-28-2024, 02:36 PM
#2
Archived author: sudlud • Posted: 2024-09-28T14:36:44.473000+00:00
Original source

please take a look at Keira3, and yeah if you set `trainer_class` to mage he will become a mage trainer
rektbyfaith
09-28-2024, 02:36 PM #2

Archived author: sudlud • Posted: 2024-09-28T14:36:44.473000+00:00
Original source

please take a look at Keira3, and yeah if you set `trainer_class` to mage he will become a mage trainer

rektbyfaith
Administrator
0
09-28-2024, 02:37 PM
#3
Archived author: Agent • Posted: 2024-09-28T14:37:06.936000+00:00
Original source

Would he then not talk to me at all anymore because I'm a priest?
rektbyfaith
09-28-2024, 02:37 PM #3

Archived author: Agent • Posted: 2024-09-28T14:37:06.936000+00:00
Original source

Would he then not talk to me at all anymore because I'm a priest?

rektbyfaith
Administrator
0
09-28-2024, 02:38 PM
#4
Archived author: sudlud • Posted: 2024-09-28T14:38:14.760000+00:00
Original source

yeah
rektbyfaith
09-28-2024, 02:38 PM #4

Archived author: sudlud • Posted: 2024-09-28T14:38:14.760000+00:00
Original source

yeah

rektbyfaith
Administrator
0
09-28-2024, 02:38 PM
#5
Archived author: sudlud • Posted: 2024-09-28T14:38:15.590000+00:00
Original source

so
rektbyfaith
09-28-2024, 02:38 PM #5

Archived author: sudlud • Posted: 2024-09-28T14:38:15.590000+00:00
Original source

so

rektbyfaith
Administrator
0
09-28-2024, 02:38 PM
#6
Archived author: sudlud • Posted: 2024-09-28T14:38:47.334000+00:00
Original source

in the source code there is a function `bool Player::IsClass(Classes unitClass, ClassContext context)` that is beeing used e.g. to check if you have the right class for trainer display
rektbyfaith
09-28-2024, 02:38 PM #6

Archived author: sudlud • Posted: 2024-09-28T14:38:47.334000+00:00
Original source

in the source code there is a function `bool Player::IsClass(Classes unitClass, ClassContext context)` that is beeing used e.g. to check if you have the right class for trainer display

rektbyfaith
Administrator
0
09-28-2024, 02:39 PM
#7
Archived author: sudlud • Posted: 2024-09-28T14:39:02.264000+00:00
Original source

the check looks e.g. like `!IsClass((Classes)creature->GetCreatureTemplate()->trainer_class, CLASS_CONTEXT_CLASS_TRAINER)`
rektbyfaith
09-28-2024, 02:39 PM #7

Archived author: sudlud • Posted: 2024-09-28T14:39:02.264000+00:00
Original source

the check looks e.g. like `!IsClass((Classes)creature->GetCreatureTemplate()->trainer_class, CLASS_CONTEXT_CLASS_TRAINER)`

rektbyfaith
Administrator
0
09-28-2024, 02:39 PM
#8
Archived author: Agent • Posted: 2024-09-28T14:39:17.686000+00:00
Original source

Which file is this code in
rektbyfaith
09-28-2024, 02:39 PM #8

Archived author: Agent • Posted: 2024-09-28T14:39:17.686000+00:00
Original source

Which file is this code in

rektbyfaith
Administrator
0
09-28-2024, 02:39 PM
#9
Archived author: sudlud • Posted: 2024-09-28T14:39:23.589000+00:00
Original source

Player.cpp
rektbyfaith
09-28-2024, 02:39 PM #9

Archived author: sudlud • Posted: 2024-09-28T14:39:23.589000+00:00
Original source

Player.cpp

rektbyfaith
Administrator
0
09-28-2024, 02:39 PM
#10
Archived author: Agent • Posted: 2024-09-28T14:39:31.022000+00:00
Original source

Ok, let me catch up to you
rektbyfaith
09-28-2024, 02:39 PM #10

Archived author: Agent • Posted: 2024-09-28T14:39:31.022000+00:00
Original source

Ok, let me catch up to you

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