Fantafaust Posted June 12, 2023 Share Posted June 12, 2023 Ok but why? What's the issue with having such a minor script run once every second, only while you're in workshop mode? Link to comment Share on other sites More sharing options...
wysiwyg Posted June 12, 2023 Author Share Posted June 12, 2023 Ok but why? What's the issue with having such a minor script run once every second, only while you're in workshop mode?It depends on what you consider "minor". The script runs a command to find the nearest door within a certain range from the contents of a form list. It would have 1700+ different doors to check if I included them all in my case. Like I said, I might try it later but it doesn't look for the closest door and then check the form list. It looks for the closest of any of the objects in the form list. Every time it runs. Link to comment Share on other sites More sharing options...
Fantafaust Posted June 12, 2023 Share Posted June 12, 2023 You make it sound like it runs through all 1700 items, but if it's returning the closest item that matches a form in the formlist, it would then be done. I consider that extremely minor. Link to comment Share on other sites More sharing options...
wysiwyg Posted June 12, 2023 Author Share Posted June 12, 2023 The vast majority of the time it won't have any door within the bounds of the search; i.e. nearby the player. So, it depends on how the engine does it. All objects within the range searched against the list or searching for the nearest object for each form id. I'm just not inclined to make a patcher to add non-vanilla doors to the mod's form list if I don't believe it'll be practical. I'm not going to continue to argue about it. Link to comment Share on other sites More sharing options...
Recommended Posts