为什么这段函数没效果 明明以前有效果的说
魔兽地图编辑器吧
全部回复
仅看楼主
level 13
tanruixin258 楼主
function MoveUnitXY takes unit u,real r,real a returns nothing
call SetUnitX(u,YDWECoordinateX((GetUnitX(u) + r * Cos(bj_DEGTORAD*a))))
call SetUnitY(u,YDWECoordinateY((GetUnitY(u) + r * Sin(bj_DEGTORAD*a))))
endfunction
2012年07月30日 17点07分 1
level 9
修正XY坐标?
2012年07月30日 17点07分 2
嗯 我更新了YD之后就没效果了
2012年07月30日 17点07分
@tanruixin258 [拍砖]你从几更到几的?建议把原版删了然后再安装
2012年07月30日 17点07分
@醉过の知酒浓 1.22.5到1.22.9 因为我自己写了UI 所以本来不想换的 但是看到修复了逆天bug 我就换了
2012年07月30日 17点07分
@tanruixin258 [揉脸]蛋疼 召唤E大吧
2012年07月30日 17点07分
level 13
tanruixin258 楼主
2012年07月30日 17点07分 3
level 9
2012年07月30日 17点07分 4
level 13
tanruixin258 楼主
果神求救!!@everguo
2012年07月30日 17点07分 5
level 13
tanruixin258 楼主
我把修正坐标去掉看看
2012年07月30日 17点07分 6
也不行 不是修正坐标的原因
2012年07月30日 17点07分
level 13
tanruixin258 楼主
哇~~我疯了 还是没有效果
2012年07月30日 18点07分 7
level 2
呵呵 参数错误
2012年07月30日 23点07分 8
求详细
2012年07月31日 05点07分
不是real吗 角度是是实数吧
2012年07月31日 05点07分
level 11
2012年07月31日 05点07分 9
level 13
tanruixin258 楼主
擦 参数哪有问题啊?
2012年07月31日 06点07分 10
level 13
tanruixin258 楼主
知道原因了 我物编有两个马甲名字一样 编辑器后缀不一样 造成了这个bug
2012年07月31日 06点07分 11
1