set3DENLayer

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Hover & click on the images for description

Description

Description:
Set layer for Eden Entity.
Groups:
Eden Editor

Syntax

Syntax:
entity set3DENLayer layerID
Parameters:
entity: Eden Entity
layerID: Number - layer ID as returned by add3DENLayer command
Return Value:
Boolean - true if the entity was moved succesfully

Examples

Example 1:
_myLayer = -1 add3DENLayer "CTRG"; player set3DENLayer _myLayer;
Example 2:
player set3DENLayer -1; // Move to root

Additional Information

See also:
add3DENLayer remove3DENLayer 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