When trying to use set3DENAttributes for setting the init field of an object, the string is placed there 1:1. This does not work, as the init field expects some sort of SQF code.
Example:
set3DENAttributes [ [ [_veh], "Init", "this animate [""l_wingfold"", 1, true]; this animate [""r_wingfold"", 1, true];" ] ];
leads to this init field:
"this animate ["l_wingfold", 1, true]; this animate ["r_wingfold", 1, true];"
expected result would be:
this animate ["l_wingfold", 1, true]; this animate ["r_wingfold", 1, true];