SetYDir
Category: Objects
/ Movement
Since engine version: 4.6.5.0 CP
(extended in 4.9.1.0 GWE)
Description
Sets the vertical speed of an object.
Syntax
bool SetYDir
(int iYDir, object pObj, int iPrecision);
Parameters
- iYDir:
Vertical speed divided by iPrecision.
- pObj:
[opt]
Target object. Can be 0 in local calls.
- iPrecision:
[opt]
Precision. Default 10 if not specified or 0.
jwk, August 2002