Suggestion : InsideVolume/OutsideVolume

Hello…

I have suggestion, it’s simple and take little time, probably ^^.

Actually we can use this function :

SobGroup_AreAnySquadronsInsideDustCloud
SobGroup_AreAnySquadronsInsideNebula
SobGroup_AreAnySquadronsOutsideDustCloud
SobGroup_AreAnySquadronsOutsideNebula

BUT, we have not this function :

SobGroup_AreAnySquadronInsideVolume
SobGroup_AreAnySquadronOutsideVolume

You understand what this function return : true if ship (one ship of the sob group) are inside volume for the first and false else. true if outside for the second and false else.

So, it’s judicious to add this in the next big patch :smiley:

(Because actually, to verify if the player have send ship in the volume, i need to place Nebula (hiding) in the volume to use other function, and i don’t need this nebula … )

Volume?

Volume is area, sphere or cube, can be used in any time :
Volume_AddCube
Volume_AddSphere
Volume_Delete

And not necessary to make Nebula in this case to know if player have send, for example, scout at this location (located by this volume).

EDIT : I see this function :

SobGroup_IsInVolume

So, i suggest just to rename it … I missed this function :°

:confused:

Check out SobGroup_IsInVolume, Player_FillSobGroupInVolume, and Player_IsShipInVolume

Yeah i just see it …

So this post can be closed x)

As you wish.