找回密码
 点一下
查看: 1593|回复: 4

请教些JASS问题..............................

[复制链接]
发表于 2008-4-9 12:02:34 | 显示全部楼层 |阅读模式
RTRT...用Jass怎么做秒动作.....

怎样用点的坐标做点```````

还有这句Jass什么意思
[codes=jass]fation PolarProjectionBJ takes location source, real dist, real angle returns location
local real x = GetLocationX(source) + dist * Cos(angle * bj_DEGTORAD)
local real y = GetLocationY(source) + dist * Sin(angle * bj_DEGTORAD)
return Location(x, y)
endfunction[/codes]
发表于 2008-4-9 12:05:34 | 显示全部楼层
什么叫秒动作………………
回复

使用道具 举报

发表于 2008-4-9 12:07:37 | 显示全部楼层
是每秒 一个动作?
回复

使用道具 举报

 楼主| 发表于 2008-4-9 12:29:49 | 显示全部楼层
额...我表达有误= =

T里如果要做让一个单位绕1点转 换到用J要怎么做?
回复

使用道具 举报

发表于 2008-4-9 13:13:38 | 显示全部楼层
随手写的

test.w3x (18 KB, 下载次数: 25)

输入surround,圣骑就开始为这大法转,环绕函数是那个Surround和SurroundTimer,参数里u1是被环绕单位,u2是环绕单位,cycle是周期
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-22 23:51 , Processed in 0.082093 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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