BIS fnc selectDiarySubject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *D([a-z])" to "$1 - d$2")
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Briefing


|gr1 = Briefing |GROUP1=
|descr= Selects a diary subject.
{{Feature|informative|This was a temporary replacement for [[selectDiarySubject]] scripting command which '''had been broken''' until v2.04.}}


| Select diary subject. Temporary replacement for [[selectDiarySubject]] scripting command which is currently broken.{{GVI|arma3|1.82}}|DESCRIPTION=
|s1= [diaryName] call [[BIS_fnc_selectDiarySubject]]


| [diaryName] call [[BIS_fnc_selectDiarySubject]] |SYNTAX=
|p1= diaryName: [[String]] - diary subject name


|p1= diaryName: [[String]] - Diary subject name|PARAMETER1=
|r1= [[Boolean]] - [[true]] if the subject was found and selected


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


|x1= <code>["someSubject"] [[call]] [[BIS_fnc_selectDiarySubject]];</code> |=
|seealso= [[processDiaryLink]] [[createDiaryLink]] [[createDiarySubject]] [[diarySubjectExists]] [[selectDiarySubject]]
 
| [[processDiaryLink]], [[createDiaryLink]], [[createDiarySubject]], [[diarySubjectExists]], [[selectDiarySubject]] |SEEALSO=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:selectDiarySubject}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:selectDiarySubject}}]]

Latest revision as of 14: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