GetThingSector


Returns the sector that the given thing is in. Note that GetThingSector() does not return -1 when the thing is not in a sector (outside the world). Syntax:

sector=GetThingSector(thing);