remove3DENLayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
(Note about delete3DENEntities being more reliable)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{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";
[[remove3DENLayer]] _myLayer ;</code>


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


| |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>
{{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