Larrow 2822 Posted April 10, 2016 Has anyone found away, as per title, to add multiple entities to a selection. I have a floating widget that has a listbox filled with specifc entities from the editor. These entities can be across multiple layers and may not be alone on their layer. This means do3DENAction SelectLayerAllDescendants and SelectLayerChildren are of no use. Manipulating the entities tv list also brings up the problem that there are no commands for selecting multiple entries in a tv. For example you can select A entity via.. //findDisplay IDD_DISPLAY3DEN displayCtrl IDC_DISPLAY3DEN_PANELLEFT controlsGroupCtrl IDC_DISPLAY3DEN_PANELLEFT_EDIT controlsGroupCtrl IDC_DISPLAY3DEN_EDIT ( findDisplay 313 displayCtrl 1019 controlsGroupCtrl 1037 controlsGroupCtrl 55 ) tvSetCurSel _pathbut this also has the problem of there is no connection between the tv list and the entity it represents.The tv data is empty and also the tv value. Plus i can find no data on an entity to identify its tv position. You could possibly do a work around if you name an entity and iterate tvText, but still this only gets me one entity. Forcing bis_fnc_3DENControlsHint_selected seems to be a oneway street, as in it only displays selected entities and cannot be forced. My current work around is to... Get entities worldToScreen position, If its not in the screen bounds point the Eden camera at it, Set mouse position to its screen position If its not in get3denMouseOver ( widget may be in the way )Either disable the widget Move camera to one side until it is in selected DoAction "AddUnitToSel" This is far from ideal.Anything im missing or anyone found away to do something like this? Share this post Link to post Share on other sites
R3vo 2654 Posted April 10, 2016 You added a note on the wiki page, did you find a solution? Share this post Link to post Share on other sites
Larrow 2822 Posted April 10, 2016 No, the comment on the wiki about listboxes is related to what im doing but nothing to do with the question in OP, in which i need to make an Eden selection of multiple entities. Share this post Link to post Share on other sites
R3vo 2654 Posted April 11, 2016 Might that help? Added: A new set3DENSelected script command Share this post Link to post Share on other sites
Larrow 2822 Posted April 11, 2016 Yep, Thank you devs, :627: Hope we see it for 1.58 and we dont have to wait for the following patch, it will be a mighty useful command to have. Share this post Link to post Share on other sites