GetActorCeilingZ

From Eternity Wiki
(Redirected from GetActorFloorZ)
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Gets an actor's ceiling or floor touch height.

Usage[edit]

fixed GetActorCeilingZ(int tid)

fixed GetActorFloorZ(int tid)

Parameters[edit]

  • tid: TID of actor

Return value[edit]

The Z height of the floor or ceiling where the actor would touch the given surface, in fixed point.

Examples[edit]

No examples given.

Notes[edit]

This is slope-aware, and the touch height may be caused by another sector, not necessarily the one in the middle of the hitbox.

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

See also[edit]