VitoxMaster
Member
- Joined
- Feb 6, 2023
- Messages
- 38
- Reaction score
- 16
Hi everyone,
I haven't found a topic with similar question related to depot's depotid. Usually if someone wanted to assign townid (depotid) to depot it was marked that it can be achieved via RME. In my case I want to spawn depot dynamically (by script/actions) and assign townid(depotid) to it. If I just use:
working depo is spawned, but it's not assigned to any of city. Do you guys know any possibility how to make it? Is it achievable via items.xml or require engine source code changes?
I'm working on similar mechanism like hireling one but the goal is to 'spawn' depot in your home. Neglect part of storing data in database to keep depots after restart - I've made something already.
Thanks!
TFS1.5 downgrade 8.6
I haven't found a topic with similar question related to depot's depotid. Usually if someone wanted to assign townid (depotid) to depot it was marked that it can be achieved via RME. In my case I want to spawn depot dynamically (by script/actions) and assign townid(depotid) to it. If I just use:
Lua:
Game.createItem(2591, 1, position)
I'm working on similar mechanism like hireling one but the goal is to 'spawn' depot in your home. Neglect part of storing data in database to keep depots after restart - I've made something already.
Thanks!
TFS1.5 downgrade 8.6
Last edited: