inWater command, akimboautoswitch slider, akimboendaction defaults to 1 (switch back to primary)

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6390 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2011-04-29 14:04:41 +00:00
parent 88ee66ed67
commit 1e20bace2e
5 changed files with 29 additions and 2 deletions
+17
View File
@@ -2699,6 +2699,23 @@ Output:
<scriptalias name="onLastMin">
<description>If this alias exists, it will be automatically executed on the last minute remaining mark.</description>
</scriptalias>
<command name="inWater">
<description>Determines if the local player is standing in water or submerged.</description>
<examples>
<example>
<code><![CDATA[if (inWater) [echo in water] [echo not in water]]]></code>
<explanation>Example output: in water</explanation>
</example>
<example>
<code><![CDATA[if (inWater 1) [echo submerged] [echo not submerged]]]></code>
<explanation>Example output: not submerged</explanation>
</example>
</examples>
<arguments>
<argument token="T" description="check if submerged instead?" valueNotes="min 0/max 1/default 0"/>
</arguments>
</command>
</identifiers>
</section>