try { pads=[ [pad_middle,1], [pad_left,1], [pad_right,1] ]; vics=[ ["swop_LAAT"," Laat MK1"], ["swop_LAATmk2"," Laat MK2"], ["swop_LAATmk2_74"," Laat MK2 74th"], ["swop_LAATmk2_104"," Laat MK2 104th"], ["swop_LAATmk2_spec"," Laat MK2 Spec Op"], ["swop_LAATmk2_ARC"," Laat MK2 ARC"], ["swop_LAAT_cargo"," Laat Cargo"], ["swop_arc_t"," ARC-170"], ["swop_ywclones"," Y-Wing"] ]; _this setVariable ["vicToSpawn",((vics select 0) select 0), false]; _this setVariable ["padToSpawnOn",((pads select 0) select 0), false]; _this setVariable ["heightOfPad",((pads select 0) select 1), false]; for [{_i=0}, {_i<(count vics)}, {_i=_i+1}] do { titleOfAction=format["%1%2",_i, (vics select _i) select 1]; _this addAction [titleOfAction, { itemNum=(_this select 2); (_this select 0) setVariable ["vicToSpawn",((vics select itemNum) select 0), false]; itemNum=""; }]; }; _this addAction ["--------------------------------", { hint "no-CC Bondo ^.^"; }]; for [{_i=0}, {_i<(count pads)}, {_i=_i+1}] do { titleOfAction=format["%1 %2",_i, (pads select _i) select 0]; _this addAction [titleOfAction, { itemNum=(_this select 2)-(count vics)-1; (_this select 0) setVariable ["padToSpawnOn",((pads select itemNum) select 0), false]; (_this select 0) setVariable ["heightOfPad",((pads select itemNum) select 1), false]; itemNum=""; }]; }; _this addAction ["Spawn Vehicle", { unitVic=(_this select 0) getVariable "vicToSpawn"; unitPad=(_this select 0) getVariable "padToSpawnOn"; unitPadHeight=(_this select 0) getVariable "heightOfPad"; _unit=createVehicle [unitVic, [(getPos unitPad select 0), (getPos unitPad select 1), (getPos unitPad select 2)+unitPadHeight], [], 0,"CAN_COLLIDE"]; _unit setDir (getDir unitPad); _unit=""; unitVic=""; unitPad=""; unitPadHeight=""; }]; } catch { hint ("Vicspawner is broken, badger Namenai to fix it."); } //added try catch suck it namenai, okaie //why do we still have to use this script,why dont we remove it from all missions :(