BIS fnc initLeaflet: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Interaction |GROUP1= | |gr1 = Interaction |GROUP1= | ||
| Initialize interactive leaflet. |Description= | | Initialize interactive leaflet. |Description= | ||
| [mode, parameters] call [[BIS_fnc_initLeaflet]] |Syntax= | | [mode, parameters] call [[BIS_fnc_initLeaflet]] |Syntax= | ||
Line 26: | Line 23: | ||
| [[Nothing]] |Return value= | | [[Nothing]] |Return value= | ||
|x1= <code>["init", [myLeaflet, "#(argb,8,8,3)color(1,1,0,1)", "Yellow pages"]] [[call]] [[BIS__fnc_initLeaflet]];</code> |Example 1= | |x1= <code>["init", [myLeaflet, "#(argb,8,8,3)color(1,1,0,1)", "Yellow pages"]] [[call]] [[BIS__fnc_initLeaflet]];</code> |Example 1= | ||
Line 33: | Line 29: | ||
|x3= <code>["init", [myLeaflet,"West"]] [[call]] [[BIS_fnc_initLeaflet]];</code> |Example 3= | |x3= <code>["init", [myLeaflet,"West"]] [[call]] [[BIS_fnc_initLeaflet]];</code> |Example 3= | ||
| [[Arma 3 Leaflets]], [[BIS_fnc_initInspectable]] |See also= | | [[Arma 3 Leaflets]], [[BIS_fnc_initInspectable]] |See also= |
Revision as of 23:29, 16 January 2021
Description
- Description:
- Initialize interactive leaflet.
- Execution:
- call
- Groups:
- Interaction
Syntax
- Syntax:
- [mode, parameters] call BIS_fnc_initLeaflet
- Parameters:
- mode: String - "init" for scripted initialization, other modes are used when leaflets are fired as a weapon
- parameters: Array to format:
- 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;
- Example 3:
["init", [myLeaflet,"West"]] 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