BIS fnc selectDiarySubject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "- True" to "- true")
Line 13: Line 13:
|p1= diaryName: [[String]] - Diary subject name
|p1= diaryName: [[String]] - Diary subject name


|r1= [[Boolean]] - [[true|True]] if the subject was found and selected
|r1= [[Boolean]] - [[true]] if the subject was found and selected


|x1= <code>["someSubject"] [[call]] [[BIS_fnc_selectDiarySubject]];</code>
|x1= <code>["someSubject"] [[call]] [[BIS_fnc_selectDiarySubject]];</code>

Revision as of 19:20, 25 September 2021

Hover & click on the images for description

Description

Description:
Selects a diary subject.
This was a temporary replacement for selectDiarySubject scripting command which had been broken until v2.04.
Execution:
call
Groups:
Briefing

Syntax

Syntax:
[diaryName] call BIS_fnc_selectDiarySubject
Parameters:
diaryName: String - Diary subject name
Return Value:
Boolean - true if the subject was found and selected

Examples

Example 1:
["someSubject"] call BIS_fnc_selectDiarySubject;

Additional Information

See also:
processDiaryLinkcreateDiaryLinkcreateDiarySubjectdiarySubjectExistsselectDiarySubject

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