SetR

Category: Objects / Movement
Since engine version: 4.6.5.0 CP (extended in 4.9.1.0 GWE)

Description

Sets the rotation of an object.

Syntax

bool SetR (int iR, object pObj);

Parameters

iR:
Angle in degrees
pObj:
[opt] Target object. Can be 0 in local calls.
See also: SetRDir, SetXDir, SetYDir
jwk, August 2002