找回密码
 点一下
查看: 665|回复: 5

星际2中有设置单位XY坐标的函数吗?

[复制链接]
发表于 2013-12-19 10:53:38 | 显示全部楼层 |阅读模式
触发都找遍了,就是没有设置单位XY坐标的函数
发表于 2013-12-19 11:10:13 | 显示全部楼层
不是有个移动单位的动作吗?

点评

恩,所以我想问问有没设置单位XY坐标的方法  详情 回复 发表于 2013-12-19 14:22
回复

使用道具 举报

 楼主| 发表于 2013-12-19 14:22:31 | 显示全部楼层
麦德三世 发表于 2013-12-19 11:10
不是有个移动单位的动作吗?

恩,所以我想问问有没设置单位XY坐标的方法
回复

使用道具 举报

发表于 2013-12-19 16:39:36 | 显示全部楼层
native void  UnitSetPosition (unit inUnit, point inPos, bool blend);
native point Point (fixed x, fixed y);

点评

谢谢  详情 回复 发表于 2013-12-21 01:02
回复

使用道具 举报

发表于 2013-12-19 18:34:45 | 显示全部楼层
所以说设置单位的坐标不就是瞬间移动单位么……
回复

使用道具 举报

 楼主| 发表于 2013-12-21 01:02:43 | 显示全部楼层
麦德三世 发表于 2013-12-19 16:39
native void  UnitSetPosition (unit inUnit, point inPos, bool blend);
native point Point (fixed x, f ...

谢谢麦德
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点一下

本版积分规则

Archiver|移动端|小黑屋|地精研究院

GMT+8, 2024-7-1 11:16 , Processed in 0.199339 second(s), 28 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表