2010-08-22 13:13:17 +00:00
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
< !DOCTYPE funcs
SYSTEM '../../../clonk.dtd'>
2009-05-09 13:11:51 +00:00
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
<funcs >
<func >
<title > GetColor</title>
2010-08-22 13:13:17 +00:00
<category > Objects</category>
<subcat > Display</subcat>
2011-06-30 10:52:55 +00:00
<version > 5.1 OC</version>
2010-08-22 13:13:17 +00:00
<syntax > <rtype > int</rtype> </syntax>
2013-01-01 14:40:22 +00:00
<desc > Gets the RGB color value of the ColorByOwner areas of an object. These are controlled by <funclink > SetOwner</funclink> or <funclink > SetColor</funclink> .</desc>
2009-05-09 13:11:51 +00:00
<examples >
<example >
2011-07-07 10:34:10 +00:00
<code > otherclonk-> <funclink > SetColor</funclink> (GetColor());</code>
<text > Colors otherclonk like the current object.</text>
2009-05-09 13:11:51 +00:00
</example>
</examples>
<related >
2014-10-20 20:34:55 +00:00
<funclink > GetPlayerColor</funclink>
2009-05-09 13:11:51 +00:00
<funclink > SetColor</funclink>
2009-08-12 20:44:09 +00:00
<funclink > GetClrModulation</funclink>
2009-05-09 13:11:51 +00:00
</related>
</func>
2010-08-22 13:13:17 +00:00
<author > Sven2</author> <date > 2002-05</date>
2009-05-09 13:11:51 +00:00
</funcs>