documented fovcompat
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3876 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+21
-6
@@ -1143,7 +1143,8 @@
|
||||
<explanation>Output: I am connected to ctf-only.assault-servers.net</explanation>
|
||||
</example>
|
||||
<example>
|
||||
<code><![CDATA[last_server = ""
|
||||
<code>
|
||||
<![CDATA[last_server = ""
|
||||
remember_server = [
|
||||
if (strcmp (curserver 4) "connected")
|
||||
[
|
||||
@@ -1462,7 +1463,8 @@ bind PRINT [
|
||||
</remarks>
|
||||
<examples>
|
||||
<example>
|
||||
<code><![CDATA[wnames = "Knife Pistol Shotgun Sub Sniper Assault Grenades"
|
||||
<code>
|
||||
<![CDATA[wnames = "Knife Pistol Shotgun Sub Sniper Assault Grenades"
|
||||
numtwo = [ if (< $arg1 10) [ result (concatword 0 $arg1) ] [ result $arg1 ] ]
|
||||
ammoinfo = [
|
||||
loop w (listlen $wnames) [
|
||||
@@ -1476,7 +1478,8 @@ ammoinfo = [
|
||||
Output:
|
||||
01 / 01 : Knife
|
||||
08 / 64 : Pistol
|
||||
30 / 60 : Sub]]></code>
|
||||
30 / 60 : Sub]]>
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<references>
|
||||
@@ -2714,7 +2717,17 @@ Output:
|
||||
<variable name="fullbrightlevel">
|
||||
<value token="V" description="" minValue="0" maxValue="255" defaultValue="176"/>
|
||||
</variable>
|
||||
|
||||
<command name="fovcompat">
|
||||
<description>Sets the field of view (fov) based on the rules of AC v0.93</description>
|
||||
<remarks>
|
||||
<remark>
|
||||
This command is supplied for backward compatibility.
|
||||
</remark>
|
||||
</remarks>
|
||||
<arguments>
|
||||
<argument token="A" description="FOV degree" valueNotes=""/>
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="font">
|
||||
<arguments>
|
||||
<argument token="A" description="" valueNotes="value"/>
|
||||
@@ -3253,8 +3266,10 @@ Output:
|
||||
<identifiers sort="true">
|
||||
|
||||
<command name="serverdesc">
|
||||
<description>If the server was run with -n1 and -n2 arguments (prefix and suffix of descriptive title)
|
||||
a serveradmin can set a user-defined server description with this command, if it wasn't this command results in "invalid vote". This title will only stay until the next map is loaded.</description>
|
||||
<description>
|
||||
If the server was run with -n1 and -n2 arguments (prefix and suffix of descriptive title)
|
||||
a serveradmin can set a user-defined server description with this command, if it wasn't this command results in "invalid vote". This title will only stay until the next map is loaded.
|
||||
</description>
|
||||
<arguments>
|
||||
<argument token="D" description="description"/>
|
||||
</arguments>
|
||||
|
||||
Reference in New Issue
Block a user