{"name":"BIS_fnc_rscLayer","operator":null,"title":"BIS fnc rscLayer","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_rscLayer","revid":348814,"updated":"2023-11-08T14:38:17Z","groups":["GUI"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Register RSC layer and returns a **unique** ID.","syntaxes":[{"syntax":"[layerName] call BIS_fnc_rscLayer","since":null,"effect":null,"exec":null,"params":[{"name":"layerName","type":"String","optional":false,"default":null,"description":"layer name. Parent function name is used automatically when param is nil.","types":["String"],"since":null,"text":"layerName: String - layer name. Parent function name is used automatically when param is nil."}],"returns":{"type":"Number","types":["Number"],"description":"layer ID","text":"Number - layer ID"}}],"examples":[{"text":"```sqf\nprivate _id = [\"myLayerName\"] call BIS_fnc_rscLayer;\n```","code":["private _id = [\"myLayerName\"] call BIS_fnc_rscLayer;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["allCutLayers","titleRsc","cutText","cutObj","cutFadeOut","setTitleEffect"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: GUI","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}