BIS fnc selectDiarySubject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "- True" to "- true")
m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>")
Line 15: Line 15:
|r1= [[Boolean]] - [[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= <sqf>["someSubject"] call BIS_fnc_selectDiarySubject;</sqf>


|seealso= [[processDiaryLink]], [[createDiaryLink]], [[createDiarySubject]], [[diarySubjectExists]], [[selectDiarySubject]]
|seealso= [[processDiaryLink]], [[createDiaryLink]], [[createDiarySubject]], [[diarySubjectExists]], [[selectDiarySubject]]
}}
}}

Revision as of 20:02, 5 May 2022

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