set3DENLayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*) ([^ ]*)<\/code>" to "<code>$1$2$3 $4</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
Line 14: Line 14:
|r1= [[Boolean]] - [[true]] if the entity was moved succesfully
|r1= [[Boolean]] - [[true]] if the entity was moved succesfully


|x1= <code>_myLayer = -1 add3DENLayer "CTRG";
|x1= <sqf>_myLayer = -1 add3DENLayer "CTRG";
player set3DENLayer _myLayer;</code>
player set3DENLayer _myLayer;</sqf>


|seealso=  
|seealso=  

Revision as of 11:24, 13 May 2022

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;

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