setIndex

<html> <head> <meta http-equiv="Content-Language" content="zh-cn"> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>int obj</title> </head> <body> <p><font color="#0000FF"> int</font><font color="darkorange"> </font> <font color="#00FF00"> obj</font>.<font color="#FF8C00">setIndex</font>(<font color="blue">int</font> 对象索引, <font color="#0000FF">int</font> 索引)</p> <p><strong>函数功能:</strong></p> <p><font color="#006400">通过对象索引人物或宠物或NPC索引</font></p> <p><strong>参数说明:</strong></p> <table border="1" width="37%" id="table1"> <tr> <td width="150">对象索引</td> <td>[整型]</td> <td width="309">一个对象索引</td> </tr> <tr> <td width="150">索引</td> <td>[整型]</td> <td width="309">一个索引,可以是人物的,宠物的,物品的,主要是看对象类型来定</td> </tr> </table> <p><strong>返回值:</strong></p> <p> </p> <p><strong>使用例子:</strong></p> <p><font color="#008000">--获取一个地图X坐标<br> </font><font color="#00FF00"> obj</font>.<font color="#FF8C00">setIndex</font>(objindex, charindex)<font color="#0000FF"><br>  </font></p> <p><strong>参数说明:</strong></p> </body> </html>