GetLineRowOffset

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)

This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.