Hi, i saw so many script or way to export objects from Eden Editor. But none of them found a way to import stuff...
I saw many people in my case and i want to ask if someone can help us. I explain :
I want to add sqf code into eden editor.
In my case i want to add this :
private ["_objs"];
_objs = [
["Land_Pier_F",[24159.2,18967.5,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24130,18937.7,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24100.8,18907.9,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24119.4,18948.1,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24079.6,18928.6,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24156.5,19028.4,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24127.4,18998.6,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24098.2,18968.8,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24069,18939,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24145.9,19038.7,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24116.8,19008.9,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24087.5,18979,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24056.9,18951.3,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Scaffolding_F",[24154.5,18980.5,11.3455],0,[[0.70484,0.709366,0],[0,0,1]],false],
["Land_Pier_F",[24167.1,19018,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24108.8,18958.4,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24138,18988.2,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24140.6,18927.3,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24111.4,18897.5,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24169.8,18957.1,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false],
["Land_Pier_F",[24198.9,18986.9,6.80911],0,[[-0.714912,0.699215,0],[0,0,1]],false]
];
I can import the in a mod file or in the mission file by using this code :
{
private ["_obj"];
_obj = createVehicle [_x select 0, [0,0,0], [], 0, "CAN_COLLIDE"];
if (_x select 4) then {
_obj setDir (_x select 2);
_obj setPos (_x select 1);
} else {
_obj setPosATL (_x select 1);
_obj setVectorDirAndUp (_x select 3);
};
} foreach _objs;
The thing is with eden it's working but we cannot edit objects ! I am sure it's possible because i have found a code to do it but cannot found it anymore, haven't touch arma 3 since 6 months. (and the version of Eden editor was the same..)
I know there is a way with create3DENEntity and set3DENAttribute.
If you can add something like this it will be awesome !!! (Sorry for my pretty bad english)
Cheers