Skip to content

Sector COG Functions

Function List

GetSectorTint

GetSectorTint(Sector sector) -> Vector

SetSectorTint

SetSectorTint(Sector sector, Vector color)

SetSectorAdjoins

SetSectorAdjoins(Sector sector, int bOn)

SectorAdjoins

SectorAdjoins(Sector sector, int bOn)

GetSectorLight

GetSectorLight(Sector sector) -> float

SetSectorLight

SetSectorLight(Sector sector, Vector color, float timeDelta)

SectorLight

SectorLight(Sector sector, Vector color, float timeDelta)

GetColormap

GetColormap(Sector value) -> int

GetSectorColormap

GetSectorColormap(Sector value) -> int

SetColormap

SetColormap(int value)

SetSectorColormap

SetSectorColormap(int value)

GetSectorThrust

GetSectorThrust(Sector sector) -> Vector

SetSectorThrust

SetSectorThrust(Sector sector, Vector vecDirect, float thrust)

SectorThrust

SectorThrust(Sector sector, Vector vecDirect, float thrust)

GetSectorFlags

GetSectorFlags(Sector sector) -> int

SetSectorFlags

SetSectorFlags(Sector sector, int flags)

ClearSectorFlags

ClearSectorFlags(Sector sector, int flags)

GetSectorThingCount

GetSectorThingCount(Sector sector) -> int

SectorThingCount

SectorThingCount(Sector sector) -> int

GetSectorPlayerCount

GetSectorPlayerCount(Sector sector) -> int

SectorPlayerCount

SectorPlayerCount(Sector sector) -> int

GetSectorCount

GetSectorCount() -> int

GetSectorCenter

GetSectorCenter(Sector sector) -> Vector

GetNumSectorVertices

GetNumSectorVertices(Sector sector) -> int

GetSectorVertexPos

GetSectorVertexPos(Sector sector, int vertNum) -> Vector

GetNumSectorSurfaces

GetNumSectorSurfaces(Sector sector) -> int

GetSectorSurfaceRef

GetSectorSurfaceRef(Sector sector, int surfIdx) -> int

SyncSector

SyncSector(Sector sector)

FindSectorAtPos

FindSectorAtPos(Vector pos) -> int

SetSectorSurfflags

SetSectorSurfflags(Sector sector, int surfflags)

ClearSectorSurfflags

ClearSectorSurfflags(Sector sector, int surfflags)