GetSectorLightLevel

From Eternity Wiki
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Returns the light level of tagged sector.

Usage[edit]

int GetSectorLightLevel(int tag)

Parameters[edit]

  • tag: tag of sector whose light level to return.

Return value[edit]

The light level of the tagged sector. Returns 0 if no such tagged sector exists.

Examples[edit]

No examples given.

Notes[edit]

If multiple sectors have tag, GetSectorLightLevel will return the light level of the first one from the map.

This function's identification in zspecial.acs is: ACC internal.

See also[edit]