BIS fnc rscLayer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *L([a-z ])" to "$1 - l$2") |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|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]] - | |p1= layerName: [[String]] - layer name. Parent function name is used automatically when param is [[nil]]. | ||
| [[Number]] - | |r1= [[Number]] - layer ID | ||
|x1= < | |x1= <sqf>private _id = ["myLayerName"] call BIS_fnc_rscLayer;</sqf> | ||
|seealso= [[allCutLayers]] | |seealso= [[allCutLayers]] [[titleRsc]] [[cutText]] [[cutObj]] [[cutFadeOut]] [[setTitleEffect]] | ||
}} | }} | ||
Latest revision as of 15:38, 8 November 2023
Description
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:
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