forked from Mirrors/openclonk
25 lines
850 B
XML
25 lines
850 B
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<!DOCTYPE funcs
|
|
SYSTEM '../../../clonk.dtd'>
|
|
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
|
|
<funcs>
|
|
<const>
|
|
<title>NO_OWNER</title>
|
|
<category>Player</category>
|
|
<version>5.1 OC</version>
|
|
<syntax><rtype>int</rtype></syntax>
|
|
<desc>Player number: no player. This constant can be used to indicate 'no ownership' in cases such as <funclink>CreateObject</funclink> or <placeholder-2/>.</desc>
|
|
<examples>
|
|
<example>
|
|
<code><funclink>CreateObject</funclink>(Firestone, 100,100, NO_OWNER);</code>
|
|
<text>Creates a flint owned by no one.</text>
|
|
</example>
|
|
</examples>
|
|
<related>
|
|
<funclink>SetOwner</funclink>
|
|
<funclink>GetOwner</funclink>
|
|
</related>
|
|
</const>
|
|
<author>Sven2</author><date>2005-01</date>
|
|
</funcs>
|