• 0
Sign in to follow this  
Followers 0
NeverAgain

[Solved]Custom building

Question

Hi please how to fix this error? Thanks

12:11:11 Error in expression <cle setPosWorld (_x select 1);
_vehicle setVectorDirAndUp [_x select 2, _x selec>
12:11:11   Error position: <setVectorDirAndUp [_x select 2, _x selec>
12:11:11   Error 2 elements provided, 3 expected
12:11:11 File a3_custom\mapcontent\yourcustom.sqf, line 1183
12:11:11 Error in expression <cle setPosWorld (_x select 1);
_vehicle setVectorDirAndUp [_x select 2, _x selec>
12:11:11   Error position: <setVectorDirAndUp [_x select 2, _x selec>
12:11:11   Error 2 elements provided, 3 expected
12:11:11 File a3_custom\mapcontent\yourcustom.sqf, line 1183
12:11:11 Error in expression <cle setPosWorld (_x select 1);
_vehicle setVectorDirAndUp [_x select 2, _x selec>
12:11:11   Error position: <setVectorDirAndUp [_x select 2, _x selec>
12:11:11   Error 2 elements provided, 3 expected
12:11:11 File a3_custom\mapcontent\yourcustom.sqf, line 1183
12:11:11 Error in expression <cle setPosWorld (_x select 1);
_vehicle setVectorDirAndUp [_x select 2, _x selec>
12:11:11   Error position: <setVectorDirAndUp [_x select 2, _x selec>
12:11:11   Error 2 elements provided, 3 expected
12:11:11 File a3_custom\mapcontent\yourcustom.sqf, line 1183
12:11:11 Error in expression <cle setPosWorld (_x select 1);
_vehicle setVectorDirAndUp [_x select 2, _x selec>
12:11:11   Error position: <setVectorDirAndUp [_x select 2, _x selec>
12:11:11   Error 2 elements provided, 3 expected
12:11:11 File a3_custom\mapcontent\yourcustom.sqf, line 1183
12:11:11 Error in expression <cle setPosWorld (_x select 1);
_vehicle setVectorDirAndUp [_x select 2, _x selec>
12:11:11   Error position: <setVectorDirAndUp [_x select 2, _x selec>
12:11:11   Error 2 elements provided, 3 expected
12:11:11 File a3_custom\mapcontent\yourcustom.sqf, line 1183
12:11:11 Error in expression <cle setPosWorld (_x select 1);
_vehicle setVectorDirAndUp [_x select 2, _x selec>
12:11:11   Error position: <setVectorDirAndUp [_x select 2, _x selec>
12:11:11   Error 2 elements provided, 3 expected
12:11:11 File a3_custom\mapcontent\yourcustom.sqf, line 1183

yourcustom.sqf :

["Misc_cargo_cont_small_EP1", [8170.86, 8989.64, 468.677], [0.710679, -0.703505, 0.00402385], [-0.0359799, -0.0306334, 0.998883], true],
["Vec03", [8176.58, 8987.4, 468.18], [-0.999497, -0.0228183, -0.022034], [-0.02133, -0.0306482, 0.999303], true],
["Vec03", [8190.14, 8992.28, 468.427], [-0.999652, -0.023764, 0.0114247], [0.0119949, -0.0239917, 0.99964], true],
["Vec03", [8188.39, 8992.31, 468.43], [-0.410803, -0.911475, -0.0213285], [0.00133688, -0.0239958, 0.999711], true],
["Misc_Cargo1Bo_military", [4555.25, 8365.12, 319.053], [0, 1, 0], [0, 0, 1], true],
["Misc_Cargo1Bo_military", [4571.36, 8357.49, 319.728], [-0.986439, -0.159789, -0.0375042], [-0.038638, 0.00399376, 0.999245], true],
["Land_Wall_IndCnc_End_2_F", [4562.5, 8374.61, 318.62], [0.132153, 0.991229, 0], [0, 0, 1], true],
["Land_Wall_IndCnc_End_2_F", [4566.23, 8374.36, 319.056], [-0.130405, -0.991461, 0], [0, 0, 1], true],
["Land_Wall_IndCnc_End_2_F", [4468.64, 8319.4, 314.835], [0.669688, -0.742642, 0], [0, 0, 1], true],
["Land_Mil_Barracks", [6296.77, 7846.34, 307.256], [0.829154, -0.558746, -0.0175029], [0.00134403, -0.0293173, 0.999569], true],
["Land_Mil_Barracks", [6316.23, 7837.5, 307.25], [0.55016, 0.834722, 0.0237426], [0.00134403, -0.0293173, 0.999569], true]
];

{
    private _vehicle = (_x select 0) createVehicle (_x select 1);
    _vehicle allowDamage false;
    _vehicle setPosWorld (_x select 1);
    _vehicle setVectorDirAndUp [_x select 2, _x select 3];
    _vehicle enableSimulationGlobal (_x select 4);
    _vehicle setVariable ["ExileIsLocked", -1, true];

 

Edited by NeverAgain

Share this post


Link to post
Share on other sites

0 answers to this question

There have been no answers to this question yet

Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.