BIS fnc selectDiarySubject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *D([a-z])" to "$1 - d$2")
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Briefing


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


| <code>/*
|s1= [diaryName] call [[BIS_fnc_selectDiarySubject]]


Description:
|p1= diaryName: [[String]] - diary subject name
Select diary subject
Temporary replacement for [[selectDiarySubject]] scripting command which is currently broken


Parameter(s):
|r1= [[Boolean]] - [[true]] if the subject was found and selected
0: STRING


Returns:
|x1= <sqf>["someSubject"] call BIS_fnc_selectDiarySubject;</sqf>
BOOL - true if the subject was found and selected
<nowiki>*</nowiki>/
 
#define CONTROL (finddisplay _idd displayctrl 1001)
 
</code><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_selectDiarySubject]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[processDiaryLink]] [[createDiaryLink]] [[createDiarySubject]] [[diarySubjectExists]] [[selectDiarySubject]]
}}
}}
<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:Function Group: Misc|{{uc:selectDiarySubject}}]]
[[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