BIS fnc openFieldManual: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3|1.36
|game1= arma3
|version1= 1.36


|gr1= Systems
|gr1= Systems
Line 9: Line 10:
Can apply a (search) filter if desired.
Can apply a (search) filter if desired.


|s1=[topic, hint, display, filter] call [[BIS_fnc_openFieldManual]]
|s1= [topic, hint, display, filter] call [[BIS_fnc_openFieldManual]]


|p1= topic: [[String]] - Class name of a topic that will be selected in the opened Field Manual (e.g. "Damage")
|p1= topic: [[String]] - class name of a topic that will be selected in the opened Field Manual (e.g. "Damage")


|p2= hint: [[String]] - Class name of a hint that will be selected in the opened Field Manual (e.g. "HitDamage")
|p2= hint: [[String]] - class name of a hint that will be selected in the opened Field Manual (e.g. "HitDamage")


|p3= display: [[Display]] - (Optional) desired parent [[Display]] to open the Field Manual display under
|p3= display: [[Display]] - (Optional) desired parent [[Display]] to open the Field Manual display under
Line 21: Line 22:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>["Damage", "HitDamage"] [[call]] [[BIS_fnc_openFieldManual]];</code>
|x1= <sqf>["Damage", "HitDamage"] call BIS_fnc_openFieldManual;</sqf>


|seealso=
|seealso=
}}
}}

Latest revision as of 14:00, 8 November 2023

Hover & click on the images for description

Description

Description:
Opens Field Manual in briefing (SP, MP Server, MP Client) and players's map or journal. Selects the topic and hint passed as parameters. Can apply a (search) filter if desired.
Execution:
call
Groups:
Systems

Syntax

Syntax:
[topic, hint, display, filter] call BIS_fnc_openFieldManual
Parameters:
topic: String - class name of a topic that will be selected in the opened Field Manual (e.g. "Damage")
hint: String - class name of a hint that will be selected in the opened Field Manual (e.g. "HitDamage")
display: Display - (Optional) desired parent Display to open the Field Manual display under
filter: String - (Optional) pre-filled search field filter in the opened Field Manual (recommended to use localized string)
Return Value:
Nothing

Examples

Example 1:
["Damage", "HitDamage"] call BIS_fnc_openFieldManual;

Additional Information

See also:
See also needed

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