|
发表于 2010-11-13 17:53:48
|
显示全部楼层
我的BinPBO出了点问题,实例可能暂时无法发给你,这是一个简单版本使用法:
这是一个新写的脚本,直接放到你的任务中,无需做任何修改即可使用。
方法,将[this,Plane_name] exec "[WCR_ffsx]para.sqs"写在队长的init中。
另设一架飞机,自己取名Plane_name。
参考:
private ["_ParaLeader","_paraGroup","_Arrary","_sum","_index","_Plane"]
_ParaLeader=_this select 0
_Plane=_this select 1
_ParaGroup=group _ParaLeader
_Array=units _ParaGroup
_sum=count _Array
_index=0
{_x moveincargo _Plane} forEach units _Paragroup
~0.1
_Plane flyinHeight 300
~0.1
#Eject
(_Array select _index) action ["eject",_Plane]
unassignvehicle (_Array select _index)
_index=_index+1
~1
?(_sum>_index):goto "Eject"
exit
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?加入VME
x
|