Jump to content
Ilias48rus

How to select 3den entity?

Recommended Posts

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

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

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

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

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


do3DENAction "AddUnitToSel" //Add entity under cursor to selection, the same as when you press Ctrl + LMB on an entity

  • Like 1

Share this post


Link to post
Share on other sites
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

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

 

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×