[DiscordArchive] is that some custom database table or does it use the builtin boss state system?
[DiscordArchive] is that some custom database table or does it use the builtin boss state system?
Archived author: <o> • Posted: 2023-06-03T18:29:14.948000+00:00
Original source
that's what you'd use state changes for
Archived author: Tea • Posted: 2023-06-03T18:32:29.690000+00:00
Original source
no, you would just spawn a chest when you set boss state to done
Archived author: Tea • Posted: 2023-06-03T18:32:36.444000+00:00
Original source
and not respawn it when instance reloads
Archived author: <o> • Posted: 2023-06-03T18:34:29.323000+00:00
Original source
i assumed it was meant to be spawned from the start and then activate once the fight is done, from memory that's what you do in `SetBossState` and then `OnGameObjectCreate` if you want the respawn behavior
Archived author: Krutok • Posted: 2023-06-03T18:35:21.019000+00:00
Original source
it may be that the server crashes or has to be restarted, because then everything that is temporarily spawned will disappear.
And that's exactly where the script should take effect. if the player enters the instance again after restarting the server, it should be reloaded as it was before the reset.
Archived author: <o> • Posted: 2023-06-03T18:35:33.740000+00:00
Original source
idk how all those objects were implemented, never did a chest like that so idk how its states work
Archived author: Tea • Posted: 2023-06-03T18:35:47.969000+00:00
Original source
no, you should assume the loot to be lost in case of a crash
Archived author: <o> • Posted: 2023-06-03T18:36:10.747000+00:00
Original source
forgot chests have loot in them
Archived author: Tea • Posted: 2023-06-03T18:36:12.740000+00:00
Original source
because there is no way to check if instance reloads after a crash or simply because players returned there next day
Archived author: Tea • Posted: 2023-06-03T18:36:54.592000+00:00
Original source
so as a general rule you NEVER want to respawn chests with loot