AbsY

Category: Objects / Position
Since engine version: 1.0 OC

Description

If called from an object, this function returns the given Y coordinate relative to the object's center. Otherwise, the original coordinate is returned.

Syntax

int AbsY(int y);

Parameter

y:
Y

Example

CreateObject(Wipf, AbsX(100), AbsY(500));
Creates a wipf at position 100/500, even if called from an object script.
See also: AbsX, CreateObject, GetX, GetY
flgr, 2002-01