返信先: ARMA3 ミッションエディットスレ
ホーム › フォーラム › TRI Gaming フォーラム › ARMA3 ミッションエディットスレ › 返信先: ARMA3 ミッションエディットスレ
2023年9月25日 9:07 PM
#286443
キーマスター
BW MODのパレットに積むやつ by doven博士
// Load action
_this addAction ["Load cargo to vehicle", {[5,[nearestObject [player, 'BWA3_WLP14_Flatbed_Oliv'], _this select 0],{(_this select 0 select 0) setVehicleCargo (_this select 0 select 1);},{},"Loading..."] call ace_common_fnc_progressBar;}, nil, 1.5, true, true,"","isNull (isVehicleCargo _target) && {player distance _target < 4 && count (_this nearEntities ['BWA3_WLP14_Flatbed_Oliv',10]) > 0}"];
// Unload action
_this addAction ["Unload one cargo", {objNull setVehicleCargo (getVehicleCargo (_this select 0) select 0);}, nil, 1.5, true, true,'',''];