BIS fnc initLeaflet: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.76 | |||
|1.76 | |||
|gr1= Interaction | |gr1= Interaction | ||
|descr= | |descr= Initialise interactive leaflet. | ||
|s1=[mode, parameters] call [[BIS_fnc_initLeaflet]] | |s1= [mode, parameters] call [[BIS_fnc_initLeaflet]] | ||
|p1= mode: [[String]] - "init" for scripted initialization, other modes are used when leaflets are fired as a weapon | |p1= mode: [[String]] - "init" for scripted initialization, other modes are used when leaflets are fired as a weapon | ||
|p2= parameters: [[Array]] | |p2= parameters: [[Array]] in format: | ||
* [leaflet, texture, text] | * [leaflet, texture, text]: | ||
** leaflet: [[Object]] - the leaflet object itself | ** leaflet: [[Object]] - the leaflet object itself | ||
** texture: [[String]] - texture path | ** texture: [[String]] - texture path | ||
** text: [[String]] - localized text, shown when previewing the leaflet in full screen | ** text: [[String]] - localized text, shown when previewing the leaflet in full screen | ||
* [leaflet, cfgLeafletsClass] | * [leaflet, cfgLeafletsClass]: | ||
** leaflet: [[Object]] - the leaflet object itself | ** leaflet: [[Object]] - the leaflet object itself | ||
** cfgLeafletsClass: [[String]] - class name | ** cfgLeafletsClass: [[String]] - class name | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>["init", [myLeaflet, "#(argb,8,8,3)color(1,1,0,1)", "Yellow pages"]] call BIS_fnc_initLeaflet;</sqf> | ||
|x2= < | |x2= <sqf>["init", [myLeaflet, "Custom_02"]] call BIS_fnc_initLeaflet;</sqf> | ||
|x3= < | |x3= <sqf>["init", [myLeaflet, "West"]] call BIS_fnc_initLeaflet;</sqf> | ||
|seealso= [[Arma 3 Leaflets]] | |seealso= [[Arma 3: Leaflets]] [[BIS_fnc_initInspectable]] | ||
}} | }} |
Latest revision as of 17:46, 14 March 2024
Description
- Description:
- Initialise 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 in format:
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
- Example 3:
Additional Information
- See also:
- Arma 3: Leaflets BIS_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