[DiscordArchive] You're talking to an NPC right there, no?
[DiscordArchive] You're talking to an NPC right there, no?
Archived author: Honey • Posted: 2025-02-07T13:36:26.049000+00:00
Original source
You're talking to an NPC right there, no?
Archived author: Honey • Posted: 2025-02-07T13:36:31.430000+00:00
Original source
Just use that creature.
Archived author: OUTRAKE • Posted: 2025-02-07T13:36:40.585000+00:00
Original source
yea but thats a general npc and not the actual trainer
Archived author: OUTRAKE • Posted: 2025-02-07T13:37:17.798000+00:00
Original source
you say to use
```
player:SendTrainerList(creature)
```
but thats the wrong creature
Archived author: Honey • Posted: 2025-02-07T13:37:18.593000+00:00
Original source
Did you try?
Archived author: OUTRAKE • Posted: 2025-02-07T13:37:41.239000+00:00
Original source
yea but that make no sense also, where did it get the trainer id then
Archived author: OUTRAKE • Posted: 2025-02-07T13:38:15.953000+00:00
Original source
for example sendlistinventory has it correctly
```
player:SendListInventory(creature, category.subCategories[subIndex].vendorId)
```
Archived author: OUTRAKE • Posted: 2025-02-07T13:38:23.227000+00:00
Original source
allowing you to send current creature, and targeted creature
Archived author: Honey • Posted: 2025-02-07T13:39:04.094000+00:00
Original source
Sounds like room for improvement. Not sure if the core has it like that or if the trainer screen is forced to match the creature.
Archived author: OUTRAKE • Posted: 2025-02-07T13:39:27.043000+00:00
Original source
thats for vendors