Locked Dungeon Chests - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Locked Dungeon Chests (/Thread-Locked-Dungeon-Chests) |
Locked Dungeon Chests - Nachtmusique - 03-07-2015 01:58 AM I'm looking for a locked chest in a dungeon which auto refills with loot on restock. I'm assuming this already exists, but I couldn't find how it works. I can script it myself if need be, but it seems like this would already be a part of sphere. RE: Locked Dungeon Chests - XuN - 03-08-2015 02:02 AM There are t_spawn_item, which you can fill with your needs there ... but there's no 'base' script of this. RE: Locked Dungeon Chests - Nachtmusique - 03-08-2015 08:21 AM Will it work inside a container? I've used axis to create item spawns, but it doesn't seem to work inside a container. RE: Locked Dungeon Chests - darksun84 - 03-08-2015 09:17 AM You can spawn an item template. Example: PHP Code: [TEMPLATE test_loot] Then with Axis, you have to spawn test_loot (not i_test_chest) RE: Locked Dungeon Chests - Nachtmusique - 03-08-2015 01:54 PM Perfect! That was exactly what i was looking for. I was under the impression that spawning a template would respawn the container and all, but if the items restock inside the existing container, then this is precisely what I wanted. Thanks a bunch! |