set3DENLayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


|arma3|Game name=
|arma3


|1.56|Game version=
|1.56


|gr1= Eden Editor |GROUP1=
|gr1= Eden Editor


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


| entity '''set3DENLayer''' layerID |SYNTAX=
| entity '''set3DENLayer''' layerID
|p1= entity: [[Eden Entity]] |PARAMETER1=
|p1= entity: [[Eden Entity]]
|p2= layerID: [[Number]] - layer ID as returned by [[add3DENLayer]] command |PARAMETER2=
|p2= layerID: [[Number]] - layer ID as returned by [[add3DENLayer]] command
| [[Boolean]] - [[true]] if the entity was moved succesfully |RETURNVALUE=
| [[Boolean]] - [[true]] if the entity was moved succesfully


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


|
|
Line 21: Line 21:
[[remove3DENLayer]]
[[remove3DENLayer]]
[[get3DENLayerEntities]]
[[get3DENLayerEntities]]
|SEEALSO=
 
| |MPBEHAVIOUR=
|
}}
}}



Revision as of 11:02, 18 January 2021

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

Notes


Bottom Section