GetColor

Category: Objects / Display
Since engine version: 1.0 OC

Description

Gets the RGB color value of the ColorByOwner areas of an object. These are controlled by SetOwner or SetColor.

Syntax

int GetColor();

Example

otherclonk->SetColor(GetColor());
Colors otherclonk like the current object.
See also: GetClrModulation, GetPlayerColor, SetColor
Sven2, 2002-05