BIS fnc selectDiarySubject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *D([a-z])" to "$1 - d$2")
 
(4 intermediate revisions by the same user not shown)
Line 11: Line 11:
|s1= [diaryName] call [[BIS_fnc_selectDiarySubject]]
|s1= [diaryName] call [[BIS_fnc_selectDiarySubject]]


|p1= diaryName: [[String]] - Diary subject name
|p1= diaryName: [[String]] - diary subject name


|r1= [[Boolean]] - [[true]] if the subject was found and selected
|r1= [[Boolean]] - [[true]] if the subject was found and selected
Line 17: Line 17:
|x1= <sqf>["someSubject"] call BIS_fnc_selectDiarySubject;</sqf>
|x1= <sqf>["someSubject"] call BIS_fnc_selectDiarySubject;</sqf>


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

Latest revision as of 15:01, 8 November 2023

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:
processDiaryLink createDiaryLink createDiarySubject diarySubjectExists selectDiarySubject

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