set3DENLayer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}") |
Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>") |
||
(25 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|arma3| | |game1= arma3 | ||
|version1= 1.56 | |||
| | |gr1= Eden Editor | ||
| | |descr= Set layer for [[Eden Entity]]. | ||
| | |s1= 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 | | |r1= [[Boolean]] - [[true]] if the entity was moved succesfully | ||
|x1= < | |x1= <sqf> | ||
_myLayer = -1 add3DENLayer "CTRG"; | |||
player set3DENLayer _myLayer; | |||
</sqf> | |||
| | |x2= <sqf>player set3DENLayer -1; // Move to root</sqf> | ||
|seealso= | |||
[[add3DENLayer]] | [[add3DENLayer]] | ||
[[remove3DENLayer]] | [[remove3DENLayer]] | ||
[[get3DENLayerEntities]] | [[get3DENLayerEntities]] | ||
}} | }} | ||
Latest revision as of 11:34, 3 September 2024
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 or on the Forums.
Only post proven facts here! Add Note