SP!DER 0 Posted November 19, 2020 Hello, I have a question. In one of my missions I have placed huge number of objects in the edenEditor. I want all the placed Objects to be simpleObjects. However I can't just make them simpleObjects all at once in the editor. We are looking at roughly 300 Objects. I can insert the "createAsSimpleObject=1;" command into the class Attributes by hand but that would take a horrendous ammount of time. As an example: Spoiler class Item70 { dataType="Object"; class PositionInfo { position[]={14477.523,17.760973,16784.561}; angles[]={0,3.9232736,0}; }; side="Empty"; flags=5; class Attributes { createAsSimpleObject=1; }; id=231; type="Land_CrashBarrier_01_8m_F"; atlOffset=0.081520081; }; Is there a way to create all the objects as simpleObjects via the SQF-file? Like something with forEach or so? And could you give me an example on the given cutout? Spoiler class Item70 { dataType="Object"; class PositionInfo { position[]={14477.523,17.760973,16784.561}; angles[]={0,3.9232736,0}; }; side="Empty"; flags=5; class Attributes { }; id=231; type="Land_CrashBarrier_01_8m_F"; atlOffset=0.081520081; }; class Item71 { dataType="Object"; class PositionInfo { position[]={14466.963,17.773674,16794.857}; angles[]={0,3.9232736,0}; }; side="Empty"; flags=5; class Attributes { }; id=233; type="Land_CrashBarrier_01_8m_F"; atlOffset=0.16251373; }; The Problem is that I've placed several objects wich must be not be affected and have to stay normal objects. Kind regards! Share this post Link to post Share on other sites
pierremgi 4906 Posted November 19, 2020 It seems that some objects can't be simple. In 3den, if you don't find the "simple object" attribute, you can disable the simulation and damage. Share this post Link to post Share on other sites
SP!DER 0 Posted November 19, 2020 Just now, pierremgi said: It seems that some objects can't be simple. In 3den, if you don't find the "simple object" attribute, you can disable the simulation and damage. I know, thats why I've searched for an easy way to create them as simpleObjects via the SQF-File. And i can do that with the "CreateAsSimpleObject=1"-command but that would take an horrendous ammount of time... because i would have to add it to each class manually. So my question really is about an easy way of doing this... like an forEach command or something like that. So that i can transform all the objects into simple objects. Disableing the simulation and damage wont do the trick because of an serversetting that i cant effect. Share this post Link to post Share on other sites
pierremgi 4906 Posted November 19, 2020 https://community.bistudio.com/wiki/Arma_3_Simple_Objects Share this post Link to post Share on other sites
Smart Games 76 Posted November 19, 2020 https://community.bistudio.com/wiki/nearestObjects#:~:text=In Arma 3%2C nearestObjects is partially broken and,by classnames. Use nearObjects%2C nearestObject or allMines instead. There are some commands like this to collect all the objects. Share this post Link to post Share on other sites
asys 42 Posted November 20, 2020 https://steamcommunity.com/sharedfiles/filedetails/?id=694171151 Share this post Link to post Share on other sites
Cysiu 13 Posted November 20, 2020 https://github.com/Krzyciu/Missions/tree/master/ExportSimpleObjects Export layer data to rpt. Copy to data_map. Spawn with replaceObjects.sqf Share this post Link to post Share on other sites
jakeplissken 81 Posted November 21, 2020 Use this in the init of all the objects. I have had no problems with this despite what the BIKI says. [this,true] call BIS_fnc_replaceWithSimpleObject; This will set the object as a super-simple object regardless of what it is. 1 Share this post Link to post Share on other sites