BIS fnc rscLayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>\[\[private\]\] (_?[a-zA-Z0-9_]+) = \[([^\[]*)\] \[\[(call|spawn)\]\] \[\[(BI(N|S)_fnc_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>private $1 = [$2] $3 $4;</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *L([a-z ])" to "$1 - l$2")
 
Line 10: Line 10:
|s1= [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]].


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


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

Latest revision as of 15: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