nerexis 9 Posted June 1, 2017 I don't know if I'm adding turrets to USS Freedom in right way, because there are few problems with my code: turrets very often fall through USS Freedom model into water at spawn I can't make them join Resistance side, is it possible? when sometimes they spawn in correct position, they don't attack anyone or do anything Here is my code for creation of USS Freedom and 2 turrets (Praetorian): _carrier = createVehicle ["Land_Carrier_01_base_F",_aircraftPos,[],0,"None"]; _carrier setPosWorld _aircraftPos; _carrier setDir 0; [_carrier] call BIS_fnc_Carrier01PosUpdate; _carrier enableSimulationGlobal false; _carrier enableSimulation false; _indGrp = createGroup resistance; _indGrp setVariable["DisableFreezing",true,true]; // _aircraftPos is spawn position of aircraft carrier _turret1Offset = [30.029, 174.872, 19.751+2]; _turret1Pos = _aircraftPos vectorAdd _turret1Offset; _turret1 = createVehicle ["B_AAA_System_01_F",_turret1Pos,[],0,"CAN_COLLIDE"] ; _turret1 setPosWorld _turret1Pos; _turret1 attachTo [_carrier, _turret1Offset ]; createVehicleCrew _turret1; [_turret1] joinSilent _indGrp; _turret2Offset = [-39.538, 179.126, 19.965+2]; _turret2Pos = _aircraftPos vectorAdd _turret2Offset; _turret2 = createVehicle ["B_AAA_System_01_F",_turret2Pos,[],0,"CAN_COLLIDE"] ; //_turret2 setPosWorld _turret2Pos; _turret2 attachTo [_carrier, _turret2Offset ]; createVehicleCrew _turret2; [_turret2] joinSilent _indGrp; (crew _turret1) joinSilent _indGrp; (crew _turret2) joinSilent _indGrp; Share this post Link to post Share on other sites