noxworld-dev / opennox

OpenNox main repository.
GNU General Public License v3.0
446 stars 24 forks source link

Need CreateObjectGroup to use in conjuction with existing functions. #614

Open Ephreaym opened 12 months ago

Ephreaym commented 12 months ago

For example so I can use SetOwners.

dennwc commented 9 months ago

I ported a few parts of the SetOwner code internally, so there was some progress on this one.

The current plan is to just add obj.SetOwners which will accept an array of objects. There will be no need to create map groups. For existing groups, they can be converted to an array with g.AllObjects().

@Ephreaym will it cover all the case you are thinking about?

Ephreaym commented 9 months ago

If it works like I’d suppose it would, then yes.