Einzelnen Beitrag anzeigen
Alt 13.05.2014, 09:54   #7 (permalink)
[ate]minimal
50 Beiträge
 
Registriert seit: 12.05.2014
Beiträge: 68
Standard

hab bei euch was im forum gefunden aber dat will auch nicht so wirklich.

Code:
pos1 = [marker1, marker2];
pos2 = [marker3, marker4];
pos3 = [marker5, marker6];

_pos = [pos1, pos2, pos3];
_posstart = _pos select floor random count _pos;

sleep 2;

_this = createCenter west;
_center_0 = _this;

_group_1 = createGroup _center_0;

_unit_1 = objNull;
if (true) then
{
    _this = _group_1 createUnit ["B_recon_exp_F", [1877.4304, 5822.5098, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
    _unit_1 = _this;
    _this setPos [_posstart];
    _this setDir -168.9375;
    _this setVehicleVarName "S1";
    S1 = _this;
    _this setUnitAbility 0.60000002;
    if (true) then {_group_1 selectLeader _this;};
};

_group_2 = createGroup _center_0;

_vehicle_0 = objNull;
if (true) then
{
    _this = createVehicle ["B_MBT_01_mlrs_F", [1874.3511, 5825.3145, -2.9563904e-005], [], 0, "CAN_COLLIDE"];
    _vehicle_0 = _this;
    _this setPos  [_posstart];
    _this setDir -167.09911;
    _this setVehicleVarName "F1";
    F1 = _this;
    _this setUnitAbility 0.60000002;
    if (true) then {_group_2 selectLeader _this;};
};
hab mal das makiert, wo ich denk das es falsch aufgerufen wird
[ate]minimal ist offline