NextThingInSector


Returns the thing that has the next lowest thing number than the given thing and is in the same sector. Syntax:

thing=NextThingInSector(thing);