GetActorLightLevel

From Eternity Wiki
Revision as of 14:22, 3 May 2026 by Printz (talk | contribs) (Created page with "{{ACSFunction|description=Returns the light level of the sector containing the tagged actor. |usage=''int'' '''GetActorLightLevel'''(''int'' ''tid'') |parameters= *''tid'': TID of actor to check. |return=The light level of the sector containing the tagged actor. If no actor has the given TID, returns 0. |notes=This returns the light level on the sector, without taking into account the possible Boom different floor and ceiling lights. |id=(ACS internal)}}")
(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 the sector containing the tagged actor.

Usage[edit]

int GetActorLightLevel(int tid)

Parameters[edit]

  • tid: TID of actor to check.

Return value[edit]

The light level of the sector containing the tagged actor. If no actor has the given TID, returns 0.

Examples[edit]

No examples given.

Notes[edit]

This returns the light level on the sector, without taking into account the possible Boom different floor and ceiling lights.

This function's identification in zspecial.acs is: (ACS internal).

See also[edit]