Page 1 of 1

Segmented Unit entity relationship

Posted: Sat May 03, 2025 10:02 pm
by Gweneph
I'd like segmented units and their segments to be easily related to each other.

right now as a work around you can find entities filtered and then use unit_number to relate them since it seems like they are consecutive starting from the head. But this seems brittle, which is worrisome. It's also probably less performant than just having some api relationship like segments/segmented_unit.

Re: Segmented Unit entity relationship

Posted: Sun May 04, 2025 3:37 pm
by StrangePan
A proper API for segmented units is in development, and a simple technique for correlating segments and segmented units together is included.

Re: Segmented Unit entity relationship

Posted: Tue May 06, 2025 3:47 pm
by berggen
StrangePan wrote: Sun May 04, 2025 3:37 pm A proper API for segmented units is in development, and a simple technique for correlating segments and segmented units together is included.
I'm hoping that also comes with ability to read/modify their territory?

Re: Segmented Unit entity relationship

Posted: Tue May 06, 2025 4:21 pm
by StrangePan
berggen wrote: Tue May 06, 2025 3:47 pm I'm hoping that also comes with ability to read/modify their territory?
Of course!

Re: Segmented Unit entity relationship

Posted: Thu May 08, 2025 3:54 pm
by DataCpt
I wasn't expect rw on their territory, that opens up a lot of possibilities!

Could I ask that the behaviour I erroneously called a bug at 126979 be changed so that it's possible to always fire an even upon their removal?

Re: Segmented Unit entity relationship

Posted: Thu May 08, 2025 4:14 pm
by eugenekay
....Hype building for a way to properly implement a Demolisher Zoo by setting a custom Territory! :twisted: