GetSectorLightLevel

From Eternity Wiki
Revision as of 05:00, 1 January 2022 by Printz (talk | contribs) (Created page with "{{ACSFunction|description=Returns the light level of tagged sector. |usage= ''int'' '''GetSectorLightLevel'''(''int tag'') |parameters= *''tag'': tag of sector whose light lev...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]