set3DENLayer: Difference between revisions
Jump to navigation
Jump to search
m (format) |
m (template:command argument fix) |
||
Line 11: | Line 11: | ||
| entity '''set3DENLayer''' layerID |= Syntax | | entity '''set3DENLayer''' layerID |= Syntax | ||
|p1= entity: [[Eden Entity]] |= | |p1= entity: [[Eden Entity]] |PARAMETER1= | ||
|p2= layerID: [[Number]] - layer ID as returned by [[add3DENLayer]] command |= | |p2= layerID: [[Number]] - layer ID as returned by [[add3DENLayer]] command |PARAMETER2= | ||
| [[Bool]] - [[true]] if the entity was moved succesfully |= | | [[Bool]] - [[true]] if the entity was moved succesfully |RETURNVALUE= | ||
|x1= <code>_myLayer = -1 [[add3DENLayer]] "CTRG"; | |x1= <code>_myLayer = -1 [[add3DENLayer]] "CTRG"; | ||
[[player]] [[set3DENLayer]] _myLayer;</code>|= | [[player]] [[set3DENLayer]] _myLayer;</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 23: | Line 23: | ||
[[remove3DENLayer]] | [[remove3DENLayer]] | ||
[[get3DENLayerEntities]] | [[get3DENLayerEntities]] | ||
|= | |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:36, 7 April 2019
Description
- Description:
- Set layer for Eden Entity.
- Groups:
- Uncategorised
Syntax
- Syntax:
- entity set3DENLayer layerID
- Parameters:
- entity: Eden Entity
- layerID: Number - layer ID as returned by add3DENLayer command
- Return Value:
- Bool - 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