remove3DENLayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.52|= Game version ______________...")
 
(Note about delete3DENEntities being more reliable)
 
(39 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


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


|1.52|= Game version
|gr1= Eden Editor
____________________________________________________________________________________________


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


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


|x1= <code>_myLayer = -1 [[add3DENLayer]] "Enemy Base";
|p1= layerID : [[Number]] - layer ID as returned by [[add3DENLayer]] command
remove3DENLayer _myLayer ;</code>|= EXAMPLE1
|r1= [[Boolean]] - [[true]] if the layer was removed successfully (i.e., correct layer ID was used)
____________________________________________________________________________________________


|
|x1= <sqf>
[[add3DENLayer]]
private _myLayer = -1 add3DENLayer "Enemy Base";
[[set3DENLayer]]
remove3DENLayer _myLayer;
[[get3DENLayerEntities]]
</sqf>
|= SEEALSO
 
|  |= MPBEHAVIOUR
|seealso= [[add3DENLayer]] [[set3DENLayer]] [[get3DENLayerEntities]]
____________________________________________________________________________________________
}}
}}
<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>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Eden Editor|{{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