remove3DENLayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " | }}" to " }}")
(Note about delete3DENEntities being more reliable)
 
(16 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma3
|game1= arma3
|version1= 1.56


|1.56
|gr1= Eden Editor


|gr1= Eden Editor
|descr= Remove [[:Category:Eden Editor|Eden Editor]] editing layer.
{{Feature|informative|[[delete3DENEntities]] seems to be more reliable.}}


| Remove [[Eden Editor]] editing layer.
|s1= [[remove3DENLayer]] layerID


| '''remove3DENLayer''' layerID
|p1= layerID : [[Number]] - layer ID as returned by [[add3DENLayer]] command
|p1= layerID : [[Number]] - layer ID as returned by [[add3DENLayer]] command
| [[Boolean]] - [[true]] if the layer was removed successfully (i.e., correct layer ID was used)
|r1= [[Boolean]] - [[true]] if the layer was removed successfully (i.e., correct layer ID was used)


|x1= <code>_myLayer = -1 [[add3DENLayer]] "Enemy Base";
|x1= <sqf>
[[remove3DENLayer]] _myLayer ;</code>
private _myLayer = -1 add3DENLayer "Enemy Base";
remove3DENLayer _myLayer;
</sqf>


|
|seealso= [[add3DENLayer]] [[set3DENLayer]] [[get3DENLayerEntities]]
[[add3DENLayer]]
[[set3DENLayer]]
[[get3DENLayerEntities]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:39, 20 December 2023

Hover & click on the images for description

Description

Description:
Remove Eden Editor editing layer.
delete3DENEntities seems to be more reliable.
Groups:
Eden Editor

Syntax

Syntax:
remove3DENLayer layerID
Parameters:
layerID : Number - layer ID as returned by add3DENLayer command
Return Value:
Boolean - true if the layer was removed successfully (i.e., correct layer ID was used)

Examples

Example 1:
private _myLayer = -1 add3DENLayer "Enemy Base"; remove3DENLayer _myLayer;

Additional Information

See also:
add3DENLayer set3DENLayer get3DENLayerEntities

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note