- UID
- 3
- 积分
- 8169
- 帖子
- 259
- 主题
- 68
- 论坛币
- 5016
- 威望
- 54
- EP值
- 2533
- MP值
- 20
- 阅读权限
- 200
- 注册时间
- 2011-8-3
- 在线时间
- 1097 小时
- 最后登录
- 2022-10-8
|
http://www.tcax.org/forum.php?mo ... &extra=page%3D1
You can use these functions.
getpos( i , j [,an,offsetX,offsetY] )
getpos_vert( i , j [,an,offsetX,offsetY]] )
They'll return a tuple of position.
example:
posX=getpos(_i,_j,7)[0]
posY=getpos(_i,_j,7)[1]
And the default values of an,offsetX,offsetY are according to the settings of tcc file.
|
|