forked from Mirrors/openclonk
39 lines
1.2 KiB
XML
39 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<!DOCTYPE funcs
|
|
SYSTEM '../../../clonk.dtd'>
|
|
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
|
|
<funcs>
|
|
<func>
|
|
<title>DefinitionCall</title>
|
|
<category>Script</category>
|
|
<subcat>Function call</subcat>
|
|
<version>5.1 OC</version>
|
|
<syntax>
|
|
<rtype>any</rtype>
|
|
<params>
|
|
<param>
|
|
<type>id</type>
|
|
<name>definition</name>
|
|
<desc>id of the definition in the script of which to call the function.</desc>
|
|
</param>
|
|
<param>
|
|
<type>string</type>
|
|
<name>function</name>
|
|
<desc>Function to call</desc>
|
|
</param>
|
|
<param>
|
|
<type>any</type>
|
|
<name>...</name>
|
|
<desc>Additional parameters to be passed to the function.</desc>
|
|
<optional />
|
|
</param>
|
|
</params>
|
|
</syntax>
|
|
<desc>Calls a function in a script without object context. <funclink>this</funclink> returns <funclink>nil</funclink> in this case (comparable to scenario scripts).</desc>
|
|
<related>
|
|
<funclink>GameCall</funclink>
|
|
</related>
|
|
</func>
|
|
<author>Sven2</author><date>2001-11</date>
|
|
</funcs>
|