特急,脚本语句不知道 如何写
arma3吧
全部回复
仅看楼主
level 10
玩家附近周围800米以内不管是己方还是敌方及 平民人员都一律跑向玩家,这脚本该如何写?
2021年04月30日 11点04分 1
level 10
别沉啊
2021年05月01日 06点05分 2
level 5
一直判定 还是一次性
2021年05月02日 10点05分 4
一直判定
2021年05月02日 23点05分
level 10
[酷]自顶
2021年05月03日 03点05分 5
level 10
[泪]着急呀
2021年05月04日 11点05分 6
level 10
都没人回复啊?
2021年05月05日 13点05分 7
level 9
{if(_x distance player < 500)then{_x move getpos player}}forEach allunits
2021年05月05日 15点05分 8
【还有如何让载具或人员在打光了主武器就换副武器,以此类推,直至身上没有任何一样武器,连手雷烟雾都打光了,比如阿帕奇在打完了几种导弹后就改用火箭巢,再然后就机炮,最后就是干扰波条,像这样的语句如何写?】
2021年05月07日 00点05分
@不离不弃这闪点 这个就有点 BT了。按思路要检测没一种武器弹药剩余,不够了就脚本强制换到下一个武器,重复操作
2021年05月07日 07点05分
@一元硬币正反面 是啊,看你能不能实现这一效果
2021年05月07日 07点05分
@不离不弃这闪点 太麻烦了 不是刚需 也没时间研究了 [冷]
2021年05月07日 08点05分
level 10
【【// 攻击while {_vehicle ammo _weapon > 0} do { if (local _vehicle) then { _vehicle selectWeapon _weapon; sleep 0.1; [_vehicle, _weapon] call BIS_fnc_fire; }; };// 拉高sleep 3;_vehicle flyInHeight nowHeight;// 如果有干扰弹 扔干扰弹if ((weapons _vehicle) find "CMFlareLauncher" >= 0) then {for "_i" from 0 to 10 do {sleep 0.5;[_vehicle, "CMFlareLauncher"] call BIS_fnc_fire;};};】这思路好像不凑效
2021年05月07日 07点05分 9
level 10
params["_vehicle","_pWeap","_secondaryWeapon"];
_pWeap = primaryWeapon _vehicle;
_secondaryWeapon = secondaryWeapon _vehicle;
hint primaryWeapon player;
while {_vehicle ammo _pWeap > 0} do {
if (local _vehicle) then {
_vehicle selectWeapon _pWeap;
sleep 0.1;
[_vehicle, _pWeap] call BIS_fnc_fire;
};
};
sleep 3;
if(_vehicle ammo _pweap<0)then{
_vehicle selectWeapon _secondaryWeapon;
sleep 0.1;
[_vehicle, _secondaryWeapon] call BIS_fnc_fire;
};这样的思路试了也没凑效,不知是不是哪里的变量没定义好
2021年05月07日 08点05分 10
1