set3DENLayer: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
| Line 11: | Line 11: | ||
|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 | ||
|r1= [[Boolean]] - [[true]] if the entity was moved succesfully | |r1= [[Boolean]] - [[true]] if the entity was moved succesfully | ||
|x1= <sqf> | |x1= <sqf> | ||
_myLayer = -1 add3DENLayer "CTRG"; | private _myLayer = -1 add3DENLayer "CTRG"; | ||
player set3DENLayer _myLayer; | player set3DENLayer _myLayer; | ||
</sqf> | </sqf> | ||
| Line 21: | Line 23: | ||
|x2= <sqf>player set3DENLayer -1; // Move to root</sqf> | |x2= <sqf>player set3DENLayer -1; // Move to root</sqf> | ||
|seealso= | |seealso= [[add3DENLayer]] [[remove3DENLayer]] [[get3DENLayerEntities]] | ||
[[add3DENLayer]] | |||
[[remove3DENLayer]] | |||
[[get3DENLayerEntities]] | |||
}} | }} | ||
Latest revision as of 13:30, 3 January 2026
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:
- Example 2:
Additional Information
- See also:
- add3DENLayer remove3DENLayer get3DENLayerEntities
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note