Ilias48rus 32 Posted April 21, 2016 Couldn't find commands to add something to selection. (from mouseover for example)And is it possible to select something being in preview? Share this post Link to post Share on other sites
Neviothr 102 Posted April 21, 2016 Do you mean selecting something while previewing the mission in the editor? That's not possible. If you mean selecting multiple things then just hold Ctrl+LMB. Share this post Link to post Share on other sites
Ilias48rus 32 Posted April 21, 2016 Do you mean selecting something while previewing the mission in the editor? That's not possible. If you mean selecting multiple things then just hold Ctrl+LMB. 1-st, sad, thanks and 2-nd by command? Share this post Link to post Share on other sites
Neviothr 102 Posted April 21, 2016 1-st, sad, thanks and 2-nd by command? Hold the ctrl button on your keyboard and and click every entity you want to select with your left mouth button. Share this post Link to post Share on other sites
Ilias48rus 32 Posted April 21, 2016 Hold the ctrl button on your keyboard and and click every entity you want to select with your left mouth button. by command Share this post Link to post Share on other sites
Neviothr 102 Posted April 21, 2016 do3DENAction "AddUnitToSel" //Add entity under cursor to selection, the same as when you press Ctrl + LMB on an entity 1 Share this post Link to post Share on other sites
Grumpy Old Man 3540 Posted April 21, 2016 Most of these commands are available for further investigation here. Cheers 1 Share this post Link to post Share on other sites
Ilias48rus 32 Posted April 21, 2016 do3DENAction "AddUnitToSel" //Add entity under cursor to selection, the same as when you press Ctrl + LMB on an entity thanks, just didn't thought about doAction Share this post Link to post Share on other sites
Azza FHI 50 Posted April 21, 2016 It is possible to select an object (or multiple) while editing a mission in order to execute code on them. For selected objects { } forEach get3DENSelected "object"; For all objects 3den objects { } foreach (all3DENEntities select 0); Example { removeheadgear _x } foreach (all3DENEntities select 0); NOTE - any changes to a units inventory via script must be saved in order for it to not be reset on preview. {save3DENInventory [_x]} foreach (all3DENEntities select 0); Also handy, clear all items from vehicle such as ammobox or car { _x set3DENAttribute ["ammoBox", "[[[[],[]],[[],[]],[[],[]],[[],[]]],false]"]; } forEach get3DENSelected "object"; More information can be found here http://foxhound.international/arma-3-eden-scripting.html Share this post Link to post Share on other sites
Ilias48rus 32 Posted April 22, 2016 NOTE - any changes to a units inventory via script must be saved in order for it to not be reset on preview. {save3DENInventory [_x]} foreach (all3DENEntities select 0); new, thanks Share this post Link to post Share on other sites