Announcement

Collapse
No announcement yet.

3D editor mission to script---Script Error

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 3D editor mission to script---Script Error

    Ok so using the 3D editor i made some camps on takistan..I saved in the 3d editor and placed the mission.sqf(now renamed DMZ.sqf) into the folder of the mission i am making

    I placed a game logic with [null] exec "DMZ.sqf"

    in the DMZ.sqf file i removed

    activateAddons [
    ];

    activateAddons [];
    initAmbientLife;

    and

    _this = createCenter west;
    _center_0 = _this;

    _group_0 = createGroup _center_0;

    _unit_1 = objNull;
    if (true) then
    {
    _this = _group_0 createUnit ["US_Pilot_Light_EP1", [3799.6533, 3556.4106, -1.7166138e-005], [], 0, "CAN_COLLIDE"];
    _unit_1 = _this;
    _this setUnitAbility 0.60000002;
    if (true) then {_group_0 selectLeader _this;};
    if (true) then {selectPlayer _this;};
    };

    processInitCommands;
    runInitScript;
    finishMissionInit;

    I saved DMZ.sqf and previewed the mission

    all is good except i get a single script error

    '|#|}; missing {

    none of the lines i see are missing an opening { so i dont know why I am getting this error



    Fate whispers to the warrior "You will not survive the storm."
    The warrior whispers back, "I AM the storm."

Connect

Collapse

TeamSpeak 3 Server

Collapse

Advertisement

Collapse

Twitter Feed

Collapse

Working...
X