dse-display-model icon indicating copy to clipboard operation
dse-display-model copied to clipboard

Add ModEvent for Mod collaboration

Open zairaLL opened this issue 10 months ago • 3 comments

In order to use DSE devices in other mods, they need be able to detect the slotting / unslotting of actors.

zairaLL avatar Jun 09 '25 15:06 zairaLL

i'll test the merge this weekend.

i do have a fun story about this though. both display model and soulgem oven used to have these. they were removed because there was a problem where if the event was emitted right when you walked into a load zone, like out the door of your house, the game would crash. expired looked into for me a little bit, claimed he might have found the fix for it, but i was never able to get it to stop happening. this was however a long long time ago.

might wrap this with a configuration option in mcm just in case. i can do that though.

darkconsole avatar Jun 10 '25 16:06 darkconsole

Great, I am integrating your devices into several MariaEden scenes, and therefore I really need to detect player and device state. I don't think that the crash was caused by sending the event, more likely an event listener did something that should not be done, while not every object has 3D data. Anyway, it is very unlikely that this event gets emitted during a load - but maybe a warning is ok: not expecting 3D is loaded when receiving mod events.

zairaLL avatar Jun 16 '25 15:06 zairaLL

BTW: another QOL patch is in preparation - in order to use your devices in controlled scenes, it should be possible to disable or override the device menu.

zairaLL avatar Jun 16 '25 15:06 zairaLL