Spawning objects server-side

Everything having to do with OpenMW's TES3MP branch.
Post Reply
ImpliedVirility
Posts: 5
Joined: 09 Feb 2019, 20:42

Spawning objects server-side

Post by ImpliedVirility »

I'm currently working on something that requires a lot of creating and tracking object instances, and I'd like to have the server responsible for this as much as possible. Is there currently any built-in ability for the server to create instances of items/actors/etc and send the instance information to clients? I've been looking over the LUA API reference and haven't been able to find any functionality like it. I'm guessing TES3MP is programmed to have events like spawning handled by client authorities.

I'd like to avoid using Morrowind script as much as possible since it's pretty limited, and I don't want to be manually writing and inserting instance records into the database. Any suggestions on an implementation?
davidcernat
Posts: 256
Joined: 19 Jul 2016, 01:02

Re: Spawning objects server-side

Post by davidcernat »

Are you sure you're not just looking for this function?
ImpliedVirility
Posts: 5
Joined: 09 Feb 2019, 20:42

Re: Spawning objects server-side

Post by ImpliedVirility »

That's exactly what I was looking for, thank you!
Post Reply