BIS_fnc_initLeaflet
Jump to navigation
Jump to search
Description
- Description:
- Initialize interactive leaflet.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [mode, params] spawn BIS_fnc_initLeaflet
- Parameters:
- mode: String - Use "init" for scripted initialization, other modes are used when leaflets are fired as a weapon.
- params: Array - Params in format:
0: Object - Leaflet
1: String - Texture
2: String - Localised text, shown when previwing the leaflet in full screen
or
0: Object - Leaflet
1: String - Class from CfgLeaflets - Return Value:
- Nothing
Examples
- Example 1:
["init",[myLeaflet,"#(argb,8,8,3)color(1,1,0,1)","Yellow pages"]] call BIS_fnc_initLeaflet;
- Example 2:
["init",[myLeaflet,"Custom_02"]] call BIS_fnc_initLeaflet;
Additional Information
- See also:
- Arma 3 LeafletsBIS_fnc_initInspectable
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