removeDiarySubject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Some wiki formatting)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game=
|game1= arma3
|version1= 1.96


|1.96|Game Version =
|eff= local


|arg=  |Multiplayer Arguments =
|gr1= Briefing


|eff=  |Multiplayer Effects =
|descr= Removes a page and all its subjects from the [[Diary]].


|serverExec=  |Multiplayer Execution ("server" or empty)=
|s1= player [[removeDiarySubject]] diaryPage


|gr1= Briefing |GROUP1=
|p1=player: [[Object]]
____________________________________________________________________________________________


| Remove a subject from a log. |Description=
|p2=diaryPage: [[String]]
____________________________________________________________________________________________


| unit [[removeDiarySubject]] diaryPage |Syntax=
|r1= [[Nothing]]


|p1=unit: [[Object]] |PARAMETER1=
|x1= <sqf>player removeDiarySubject "myPage";</sqf>


|p2=diaryPage: [[String]] |PARAMETER2=
|seealso= [[createDiarySubject]] [[diarySubjectExists]] [[selectDiarySubject]] [[removeDiaryRecord]] [[allDiarySubjects]]
 
| Nothing |Return Value=
____________________________________________________________________________________________
 
|x1= <code>[[player]] [[removeDiarySubject]] "myPage";</code> |Example 1=
____________________________________________________________________________________________
 
| [[createDiarySubject]] [[diarySubjectExists]] [[selectDiarySubject]] |See Also=
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- For example:
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
<dt class="note">[[User:User Name|User Name]]</dt>
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>
<!-- Appropriate categories go here -->
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on November 1, 2019 - 23:19 (UTC)</dd>
<dt class="note">[[User:Mr H.|Mr H.]]</dt>
<dd class="note">
Removing a diary subject also removes the 'Records' it contains,recreating the same subject won't recover the records entries it contained.
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 15:17, 3 May 2022

Hover & click on the images for description

Description

Description:
Removes a page and all its subjects from the Diary.
Groups:
Briefing

Syntax

Syntax:
player removeDiarySubject diaryPage
Parameters:
player: Object
diaryPage: String
Return Value:
Nothing

Examples

Example 1:
player removeDiarySubject "myPage";

Additional Information

See also:
createDiarySubject diarySubjectExists selectDiarySubject removeDiaryRecord allDiarySubjects

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