GetLineRowOffset

From ZDoom Wiki
Jump to navigation Jump to search

int GetLineRowOffset (void)

Usage

This command returns the Y component of the alignment of the texture on the front side of the activating line. There is no similar command to find the X component.

Return value

The Y component of the alignment of the texture on the front side of the activating line.

Examples

Attaching this script to lines will show their offset.

script 1 (void)
{
    Print (d:GetLineRowOffset ());
}

(Better example needed)