Ello,
There are several ways to spawn in custom buildings etc with map editors and SQF
one way is,
_vehicle_1449 = objNull; if (true) then { _this = createVehicle ["RoadBarrier_F", [3719.3022, 13044.572, 2.8610229e-005], [], 0, "CAN_COLLIDE"]; _vehicle_1449 = _this; _this setDir -72.15435; _this setPos [3719.3022, 13044.572, 2.8610229e-005]; };
Then another way is
private ["_objs"]; _objs = [ ["Land_TentHangar_V1_ruins_F",[15067.4,16916.7,0],226.364,[[-0.688844,-0.72491,0],[-0,0,1]],false] ]; { private ["_obj"]; _obj = createVehicle [_x select 0, [0,0,0], [], 0, "CAN_COLLIDE"]; _obj allowDamage false; if (_x select 4) then { _obj1 setDir (_x select 2); _obj1 setPos (_x select 1); } else { _obj1 setPosATL (_x select 1); _obj1 setVectorDirAndUp (_x select 3); }; } foreach _objs;
Basicly my question is
["Land_TentHangar_V1_ruins_F",[15067.4,16916.7,0],226.364,[[-0.688844,-0.72491,0],[-0,0,1]],false]
What are these Bold Numbers for and are they neccesary or can you just leave them and put them like this
["Land_TentHangar_V1_ruins_F",[15067.4,16916.7,0],226.364,[false],
Why am i asking someone i know doesnt like M3Editor but like's the way it exports in the SQF
its much easier to allowDamage False;
instead of having to put allowDamage False; in every single building, M3 makes a list of buildings
Might be a confusing question hehe so if you dont know what i mean feel free to ask
FlyX