- UID
- 246
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2010-12-15 23:54:12
|
显示全部楼层
lib.enh.missilecmd.single- $anull = null
- $ship = [THIS]
- skip if $ship != null
- $ship = [PLAYERSHIP]
-
-
-
- $dist = get distance between $aim and $ship
- if $dist > 60000
- = speak text: page=13 id=135 priority=0
- return null
- end
-
- $sec = $ship->get sector
-
- $current = $ship->get current missile
- $ship->set fire missile time difference to 1 ms
-
-
- $cam = $ship->get amount of ware $current in cargo bay
- $msg = sprintf: pageid=8815 textid=4, $current, $aim, null, null, null
- skip if $aim == null
- display subtitle text: text=$msg duration=5000 ms
-
- $aim->set attacker to $ship
- while $amount > 0
- dec $amount =
- = $ship->fire missile $current on $aim
- end
-
-
-
- return null
复制代码 |
|