ChangeHeight

From ZDoom Wiki
Jump to navigation Jump to search
Error.gif
Warning: Despite being exported to ZScript, this function is NOT designed to be callable directly on a SecPlane pointer. Starting GZDoom 4.12.2 it's not possible to call it on a SecPlane at all.
If you need to move the floor/ceiling of a sector from ZScript, call MoveFloor or MoveCeiling on a Sector pointer instead.


SecPlane

native void ChangeHeight(double hdiff)

Usage

Changes the SecPlane's distance from the world origin vertically by the given amount.

Parameters

  • hdiff - The value to shift by. Positive values shift up while negative values shift down.