GetActorLightLevel

From Eternity Wiki
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]