set3DENLayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
m (Move to root example)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma3
|game1= arma3
 
|version1= 1.56
|1.56


|gr1= Eden Editor
|gr1= Eden Editor


|descr= Set layer for [[Eden Entity]].
|descr= Set layer for [[Eden Entity]].  


|s1= entity '''set3DENLayer''' layerID
|s1= entity [[set3DENLayer]] layerID


|p1= entity: [[Eden Entity]]
|p1= entity: [[Eden Entity]]
Line 15: 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>
 
|x2= <sqf>player set3DENLayer -1; // Move to root</sqf>


|seealso=  
|seealso=  

Latest revision as of 01:32, 26 August 2023

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