When _entity is a 3DEN entity with only 2 size dimensions exposed (i.e. ModuleHideTerrainObjects_F/ModuleCuratorAddEditingArea_F or marker):
Running _entity set3DENAttribute ["size2", [5,5]]; returns true and does change the size.
Running _entity set3DENAttribute ["size3", [5,5,5]]; returns true but doesn't actually change the size of entity. Returning success when nothing is done is confusing. I'd expect it to either apply the relevant parts of the size (and ignore the extra) or return false.
Running _entity set3DENAttribute ["size2", [5,5,5]]; returns true and changes size to nonsense values like [3.98238e+36,1.16308e-43,0]. I'd expect it to either correctly apply the relevant parts of the size (and ignore the extra) or return false.
set3DENAttributes does that as well.
Description
Description
Details
Details
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Eden Editor
Steps To Reproduce
- Run 3DEN, place ModuleHideTerrainObjects_F/ModuleCuratorAddEditingArea_F modules ("Environment>Hide Terrain Objects"/"Zeus>Add Editing Area").
- Open debug console, run [ set3DENAttributes [[all3DENEntities#3, "size3", [1,1,1]]], all3DENEntities#3#0 set3DENAttribute ["size3", [2,2,2]] ]. It returns [true,true], module sizes don't change.
- Run [ set3DENAttributes [[all3DENEntities#3, "size2", [3,3]]], all3DENEntities#3#0 set3DENAttribute ["size2", [4,4]] ], it returns [true, true], module sizes do change.
- Run [ set3DENAttributes [[all3DENEntities#3, "size2", [6,6,6]]], all3DENEntities#3#0 set3DENAttribute ["size2", [7,7,7]] ], module sizes change to nonsense values.
Additional Information
Tested on dev build productVersion => ["Arma 3","Arma3",219,152564,"Development",true,"Windows","x64"]
Event Timeline
Comment Actions
A bit of video demonstration posted in discord (message link: https://discord.com/channels/105462288051380224/105465701543723008/1329698468834316301)