1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
<?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>Stuck</title>
<category>Objects</category>
<subcat>Status</subcat>
<version>5.1 OC</version>
<syntax><rtype>bool</rtype></syntax>
<desc>Returns whether the object is stuck, meaning that one of its vertices is enclosed in solid matter.</desc>
<examples>
<example>
<code><funclink>if</funclink>(<funclink>GetCursor</funclink>()->Stuck()) <funclink>GetCursor</funclink>()-><funclink>Message</funclink>("Help!");</code>
<text>Displays a message above the selected clonk of the first player if the clonk is stuck at the time the script is called.</text>
</example>
</examples>
<related>
<funclink>GetContact</funclink>
<funclink>GetVertex</funclink>
<funclink>GetMaterial</funclink>
<funclink>VerticesStuck</funclink>
</related>
</func>
<author>Sven2</author><date>2002-08</date>
</funcs>
|