Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] What function adds items to a chest directly without ownership or lootId?

[DiscordArchive] What function adds items to a chest directly without ownership or lootId?

[DiscordArchive] What function adds items to a chest directly without ownership or lootId?

rektbyfaith
Administrator
0
07-16-2022, 05:17 PM
#1
Archived author: whatwere • Posted: 2022-07-16T17:17:44.860000+00:00
Original source

What function adds items to a chest directly without ownership or lootId?
rektbyfaith
07-16-2022, 05:17 PM #1

Archived author: whatwere • Posted: 2022-07-16T17:17:44.860000+00:00
Original source

What function adds items to a chest directly without ownership or lootId?

rektbyfaith
Administrator
0
07-16-2022, 05:18 PM
#2
Archived author: whatwere • Posted: 2022-07-16T17:18:32.833000+00:00
Original source

Say I spawn an empty open world chest and want to add completely random items to it from C++ periodically, what should I use?
rektbyfaith
07-16-2022, 05:18 PM #2

Archived author: whatwere • Posted: 2022-07-16T17:18:32.833000+00:00
Original source

Say I spawn an empty open world chest and want to add completely random items to it from C++ periodically, what should I use?

rektbyfaith
Administrator
0
07-16-2022, 05:21 PM
#3
Archived author: Honey • Posted: 2022-07-16T17:21:18.433000+00:00
Original source

Try the Code in this PR:
https://github.com/azerothcore/mod-eluna/pull/52
[Embed: feat: GameObject:AddLoot() by 55Honey · Pull Request #52 · azerothc...]
Adds a new method to gameobjects, which allows spawning loot at runtime in an empty container.
Co-authored by @r-o-b-o-t-o
Tested with:
##Copy of the Arena Chest with 0 loot
INSERT INTO `gameobject...
https://github.com/azerothcore/mod-eluna/pull/52
rektbyfaith
07-16-2022, 05:21 PM #3

Archived author: Honey • Posted: 2022-07-16T17:21:18.433000+00:00
Original source

Try the Code in this PR:
https://github.com/azerothcore/mod-eluna/pull/52
[Embed: feat: GameObject:AddLoot() by 55Honey · Pull Request #52 · azerothc...]
Adds a new method to gameobjects, which allows spawning loot at runtime in an empty container.
Co-authored by @r-o-b-o-t-o
Tested with:
##Copy of the Arena Chest with 0 loot
INSERT INTO `gameobject...
https://github.com/azerothcore/mod-eluna/pull/52

rektbyfaith
Administrator
0
07-16-2022, 05:44 PM
#4
Archived author: whatwere • Posted: 2022-07-16T17:44:50.078000+00:00
Original source

The object seems to be unclickable (or clickable if in GM mode but no loot anim/menu)
rektbyfaith
07-16-2022, 05:44 PM #4

Archived author: whatwere • Posted: 2022-07-16T17:44:50.078000+00:00
Original source

The object seems to be unclickable (or clickable if in GM mode but no loot anim/menu)

rektbyfaith
Administrator
0
07-16-2022, 05:45 PM
#5
Archived author: whatwere • Posted: 2022-07-16T17:45:05.670000+00:00
Original source

Wonder what I'm doing wrong
rektbyfaith
07-16-2022, 05:45 PM #5

Archived author: whatwere • Posted: 2022-07-16T17:45:05.670000+00:00
Original source

Wonder what I'm doing wrong

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