Difference between revisions of "removeDiarySubject"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<!-- Appropriate categories go here -->" to "")
m (Some wiki formatting)
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
| arma3
|game1= arma3
|version1= 1.96
|eff= local
|gr1= Briefing
|gr1= Briefing
| Remove a subject from a log.
|descr= Removes a page and all its subjects from the [[Diary]].
| unit [[removeDiarySubject]] diaryPage
|s1= player [[removeDiarySubject]] diaryPage
|p1=unit: [[Object]]
|p1=player: [[Object]]
|p2=diaryPage: [[String]]
|p2=diaryPage: [[String]]
| Nothing
|r1= [[Nothing]]
|x1= <code>[[player]] [[removeDiarySubject]] "myPage";</code>
|x1= <sqf>player removeDiarySubject "myPage";</sqf>
| [[createDiarySubject]] [[diarySubjectExists]] [[selectDiarySubject]]
|seealso= [[createDiarySubject]] [[diarySubjectExists]] [[selectDiarySubject]] [[removeDiaryRecord]] [[allDiarySubjects]]
<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 -->
{{GameCategory|arma3|Scripting Commands}}
[[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.
<!-- DISCONTINUE Notes -->

Latest revision as of 16:17, 3 May 2022

Hover & click on the images for description


Removes a page and all its subjects from the Diary.


player removeDiarySubject diaryPage
player: Object
diaryPage: String
Return Value:


Example 1:

Additional Information

See also:
createDiarySubject diarySubjectExists selectDiarySubject removeDiaryRecord allDiarySubjects


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