Description
Initialise interactive leaflet.
Syntax
[mode, parameters] call BIS_fnc_initLeaflet
Parameters:
mode: String - "init" for scripted initialisation, other mode ("fired") is used when leaflets are fired as a weaponparameters: Array in format:- [leaflet, texture, text]:
- [leaflet, cfgLeafletsClass]:
- [position, cfgLeafletsClass]:
- position: Array format Position - desired placement position (see createVehicle)
- cfgLeafletsClass: String - class name
Returns: 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;
Example 3
["init", [myLeaflet, "West"]] call BIS_fnc_initLeaflet;
Example 4
["init", [getPosATL player, "Custom_02"]] call BIS_fnc_initLeaflet;