BIS fnc rscLayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (formatting)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3


|1.00
|version1= 1.00


|gr1= GUI
|gr1= GUI


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


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


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


| [[Number]] - Layer ID
|r1= [[Number]] - Layer ID


|x1= <code>_id = ["myLayerName"] [[call]] [[BIS_fnc_rscLayer]];</code>
|x1= <code>_id = ["myLayerName"] [[call]] [[BIS_fnc_rscLayer]];</code>
Line 19: Line 19:
|seealso= [[allCutLayers]], [[titleRsc]], [[cutText]], [[cutObj]], [[cutFadeOut]], [[setTitleEffect]]
|seealso= [[allCutLayers]], [[titleRsc]], [[cutText]], [[cutObj]], [[cutFadeOut]], [[setTitleEffect]]
}}
}}
[[Category:{{Name|arma3}}: Functions|{{uc:rscLayer}}]]

Revision as of 02:32, 1 March 2021

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:
_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