BIS fnc initLeaflet: Difference between revisions
Jump to navigation
Jump to search
m (pf) |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
{{Function|= | {{Function|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | arma3 |Game name= | ||
|1.76| | |1.76|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Initialize interactive leaflet. |= | | Initialize interactive leaflet. |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [mode, | | [mode, parameters] call [[BIS_fnc_initLeaflet]] |Syntax= | ||
|p1= mode: [[String]] - "init" for scripted initialization, other modes are used when leaflets are fired as a weapon |Parameter 1= | |||
|p2= parameters: [[Array]] to format: | |||
* [leaflet, texture, text] | |||
** leaflet: [[Object]] - the leaflet object itself | |||
** texture: [[String]] - texture path | |||
** text: [[String]] - localized text, shown when previewing the leaflet in full screen | |||
* [leaflet, cfgLeafletsClass] | |||
** leaflet: [[Object]] - the leaflet object itself | |||
** cfgLeafletsClass: [[String]] - class name as string |Parameter 2= | |||
| [[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= | ||
0 | |||
1 | |||
1 | |||
| [[ | |x2= <code>["init", [myLeaflet,"Custom_02"]] [[call]] [[BIS_fnc_initLeaflet]];</code> |Example 2= | ||
| | |x3= <code>["init", [myLeaflet,"West"]] [[call]] [[BIS_fnc_initLeaflet]];</code> |Example 3= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Arma 3 Leaflets]], [[BIS_fnc_initInspectable]]| | | [[Arma 3 Leaflets]], [[BIS_fnc_initInspectable]] |See also= | ||
}} | |||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> | ||
Line 43: | Line 44: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:initLeaflet}}]] | |||
[[Category:Function Group: Misc|{{uc:initLeaflet}}]] | [[Category:Function Group: Misc|{{uc:initLeaflet}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:initLeaflet}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:initLeaflet}}]] |
Revision as of 15:31, 4 June 2018
Description
- Description:
- Initialize interactive leaflet.
- Execution:
- call
- Groups:
- Uncategorised
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