BIS fnc rscLayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *L([a-z ])" to "$1 - l$2")
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.00


|1.00|= Game version
|gr1= GUI
____________________________________________________________________________________________


| Register RSC layer. |DESCRIPTION=
|descr= Register RSC layer and returns a '''unique''' ID.
____________________________________________________________________________________________


| [layerName] call [[BIS_fnc_rscLayer]] |SYNTAX=
|s1= [layerName] call [[BIS_fnc_rscLayer]]
____________________________________________________________________________________________


|p1= layerName: [[String]] - Layer name. Parent function name is used automatically when param is [[nil]].|PARAMETER1=
|p1= layerName: [[String]] - layer name. Parent function name is used automatically when param is [[nil]].
____________________________________________________________________________________________


| [[Number]] - Layer ID |RETURNVALUE=
|r1= [[Number]] - layer ID
____________________________________________________________________________________________


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


| [[allCutLayers]], [[titleRsc]], [[cutText]], [[cutObj]], [[cutFadeOut]], [[setTitleEffect]] |SEEALSO=
|seealso= [[allCutLayers]] [[titleRsc]] [[cutText]] [[cutObj]] [[cutFadeOut]] [[setTitleEffect]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: GUI|{{uc:rscLayer}}]]
[[Category:Functions|{{uc:rscLayer}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:rscLayer}}]]

Latest revision as of 16:38, 8 November 2023

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:
allCutLayers titleRsc cutText cutObj cutFadeOut setTitleEffect

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