Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script
GetColorDw
Category:
Objects / Display
Since engine version:
4.9.1.0 GWE
Description
Gets the RGB color value of the ColorByOwner areas of an object. These are controlled by
SetOwner
,
SetColor
or
SetColorDw
.
Syntax
int
GetColorDw (
object
pObj);
Parameter
pObj:
[opt] The object. Can be 0 in local calls.
Example
SetColorDw
(GetColorDw(), caller);
Colors caller like the current object.
See also:
GetClrModulation
,
GetColor
,
GetPlrColorDw
,
SetColorDw
Sven2, Mai 2002
Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script