set3DENLayer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
|arma3 | |arma3 | ||
|1.56 | |1.56 | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
| Set layer for [[Eden Entity]]. | | Set layer for [[Eden Entity]]. | ||
| entity '''set3DENLayer''' layerID | | entity '''set3DENLayer''' layerID | ||
|p1= entity: [[Eden Entity]] | |p1= entity: [[Eden Entity]] | ||
|p2= layerID: [[Number]] - layer ID as returned by [[add3DENLayer]] command | |p2= layerID: [[Number]] - layer ID as returned by [[add3DENLayer]] command | ||
| [[Boolean]] - [[true]] if the entity was moved succesfully | | [[Boolean]] - [[true]] if the entity was moved succesfully | ||
|x1= <code>_myLayer = -1 [[add3DENLayer]] "CTRG"; | |x1= <code>_myLayer = -1 [[add3DENLayer]] "CTRG"; | ||
[[player]] [[set3DENLayer]] _myLayer;</code> | [[player]] [[set3DENLayer]] _myLayer;</code> | ||
| | | | ||
Line 21: | Line 21: | ||
[[remove3DENLayer]] | [[remove3DENLayer]] | ||
[[get3DENLayerEntities]] | [[get3DENLayerEntities]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:02, 18 January 2021
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