SetXDir
Category: Objects
/ Movement
Since engine version: 5.1 OC
Description
Sets the horizontal speed of the object.
Syntax
bool SetXDir(int xdir, int precision);
Parameters
- xdir:
Horizontal speed divided by precision.
- precision:
[opt]
Precision. Default 10 if not specified.
jwk, 2002-08