找回密碼
 註冊
搜索
熱搜: 活動 交友 discuz
查看: 1583|回覆: 0

[Jass] AngleBetweenUnits

[複製鏈接]
發表於 2007-4-23 15:45:29 | 顯示全部樓層 |閲讀模式
  1. function AngleBetweenUnits takes unit whichUnit1, unit whichUnit2 returns real
  2.     return Atan2BJ( (GetUnitY(whichUnit2)-GetUnitY(whichUnit1)), (GetUnitX(whichUnit2)-GetUnitX(whichUnit1)) )
  3. endfunction
複製代碼


轉貼自http://www.wc3jass.com/
 
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

Checking the Pageranks

Archiver|手機版|小黑屋|WEO

GMT+8, 2026-7-29 10:46 PM , Processed in 0.008597 second(s), 18 queries .

Powered by Discuz! X5.0 Licensed

© 2001-2026 Discuz! Team.

快速回復 返回頂部 返回列表