getCharOne
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>int battle</title>
</head>
<body>
<p><font color="#0000FF">int</font><font color="darkorange"> </font>
<font color="#00FF00"> battle</font>.<font color="#FF8C00">getCharOne</font>(<font color="blue">int</font>
战斗索引,
<font color="blue">int</font> 战斗位置)</p>
<p><strong>函数功能:</strong></p>
<p><font color="darkgreen">获取</font><font color="#006400">战斗中,某个位置上的人物或宠物的索引</font></p>
<p><strong>参数说明:</strong></p>
<table border="1" width="37%" id="table1">
<tr>
<td>战斗索引 </td>
<td width="152">[整型] </td>
<td width="314">战斗的索引,指</td>
</tr>
<tr>
<td>战斗位置 </td>
<td width="152">[整型]或[字符型] </td>
<td width="314">获取数据的位置编号</td>
</tr>
</table>
<p><strong>返回值:</strong></p>
<p>返回
整型数据</a></p>
<p><strong>使用例子:</strong></p>
<p><font color="#008000">--获取第5个位置上的索引号</font><br>
charindex = <font color="#FF8C00">char</font>.<font color="#FF8C00">getCharOne</font>(battleindex, 5)</p>
<p><strong>参数说明:</strong></p>
</body>
</html>