Category: Objects
/ Position
Since engine version: 1.0 OC
AbsY
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.