BIS fnc rscLayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ")
Line 14: Line 14:
|r1= [[Number]] - Layer ID
|r1= [[Number]] - Layer ID


|x1= <code>_id = ["myLayerName"] [[call]] [[BIS_fnc_rscLayer]];</code>
|x1= <code>[[private]] _id = ["myLayerName"] [[call]] [[BIS_fnc_rscLayer]];</code>


|seealso= [[allCutLayers]], [[titleRsc]], [[cutText]], [[cutObj]], [[cutFadeOut]], [[setTitleEffect]]
|seealso= [[allCutLayers]], [[titleRsc]], [[cutText]], [[cutObj]], [[cutFadeOut]], [[setTitleEffect]]
}}
}}

Revision as of 13:07, 6 May 2022

Hover & click on the images for description

Description

Description:
Register RSC layer and returns a unique ID.
Execution:
call
Groups:
GUI

Syntax

Syntax:
[layerName] call BIS_fnc_rscLayer
Parameters:
layerName: String - Layer name. Parent function name is used automatically when param is nil.
Return Value:
Number - Layer ID

Examples

Example 1:
private _id = ["myLayerName"] call BIS_fnc_rscLayer;

Additional Information

See also:
allCutLayerstitleRsccutTextcutObjcutFadeOutsetTitleEffect

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