remove3DENLayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
(Note about delete3DENEntities being more reliable)
 
(7 intermediate revisions by one other user not shown)
Line 6: Line 6:
|gr1= Eden Editor
|gr1= Eden Editor


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


|s1= '''remove3DENLayer''' layerID
|s1= [[remove3DENLayer]] layerID


|p1= layerID : [[Number]] - layer ID as returned by [[add3DENLayer]] command
|p1= layerID : [[Number]] - layer ID as returned by [[add3DENLayer]] command
|r1= [[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=  
|seealso= [[add3DENLayer]] [[set3DENLayer]] [[get3DENLayerEntities]]
[[add3DENLayer]]
[[set3DENLayer]]
[[get3DENLayerEntities]]
}}
}}

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