wansec_6 200 Posted April 22, 2019 G'day All, I am trying to write a config for helicopters for my faction and don't know how to set them up so they spawn pre-fitted with a specific weapons loadout. Below is a sample of the setup for one of the choppers taken from the mission file. Spoiler class Item2 { dataType="Object"; class PositionInfo { position[]={5315.0122,6.9401751,6601.5542}; }; side="Empty"; flags=4; class Attributes { reportRemoteTargets=1; receiveRemoteTargets=1; reportOwnPosition=1; pylons="rhsusf_mag_gau19_melb_left;rhs_mag_m134_pylon_3000;rhs_mag_m134_pylon_3000;rhs_mag_M229_19;"; }; id=3; type="RHS_MELB_AH6M"; class CustomAttributes { class Attribute0 { property="Enh_featureType"; expression="if (_value isEqualType 0) then {_this setFeatureType _value}; if (_value isEqualType 'STRING') then {_this setFeatureType parseNumber _value}"; class Value { class data { class type { type[]= { "STRING" }; }; value="0"; }; }; }; class Attribute1 { property="rhs_MELB_TailNumber"; expression="if(_value != 'NoChange')then{ [_this,'d_SN',_value] call RHS_MELB_fnc_tailNumber}"; class Value { class data { class type { type[]= { "STRING" }; }; value="NoChange"; }; }; }; class Attribute2 { property="ammoBox"; expression="[_this,_value] call bis_fnc_initAmmoBox;"; class Value { class data { class type { type[]= { "STRING" }; }; value="[[[[""FirstAidKit""],[4]],[[],[]],[[""ToolKit"",""ItemGPS"",""ItemRadio""],[1,1,1]],[[],[]]],false]"; }; }; }; nAttributes=3; }; }; Can anybody point me in the right direction on how to have the helicopter spawn with the weapons? Thanks Wansec_6 Share this post Link to post Share on other sites