remove3DENLayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
(Note about delete3DENEntities being more reliable)
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


|arma3|Game name=
|game1= arma3
|version1= 1.56


|1.56|Game version=
|gr1= Eden Editor


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


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


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


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


|
|seealso= [[add3DENLayer]] [[set3DENLayer]] [[get3DENLayerEntities]]
[[add3DENLayer]]
[[set3DENLayer]]
[[get3DENLayerEntities]]
|SEEALSO=
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<!-- DISCONTINUE Notes -->
<h3 style='display:none'>Bottom Section</h3>
{{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