set3DENLayer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
m (Move to root example) |
||
Line 6: | Line 6: | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
|descr= Set layer for [[Eden Entity]]. | |descr= Set layer for [[Eden Entity]]. | ||
|s1= entity [[set3DENLayer]] layerID | |s1= entity [[set3DENLayer]] layerID | ||
Line 16: | Line 16: | ||
|x1= <sqf>_myLayer = -1 add3DENLayer "CTRG"; | |x1= <sqf>_myLayer = -1 add3DENLayer "CTRG"; | ||
player set3DENLayer _myLayer;</sqf> | player set3DENLayer _myLayer;</sqf> | ||
|x2= <sqf>player set3DENLayer -1; // Move to root</sqf> | |||
|seealso= | |seealso= |
Revision as of 00:32, 26 August 2023
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