Difference between revisions of "removeDiarySubject"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|exec=" to "|serverExec=")
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
| 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
| Remove a subject from a log. |Description=
|p1=player: [[Object]]
| unit [[removeDiarySubject]] diaryPage |Syntax=
|p2=diaryPage: [[String]]
|p1=unit: [[Object]] |PARAMETER1=
|r1= [[Nothing]]
|p2=diaryPage: [[String]] |PARAMETER2=
|x1= <code>[[player]] [[removeDiarySubject]] "myPage";</code>
| Nothing |Return Value=
|seealso= [[createDiarySubject]] [[diarySubjectExists]] [[selectDiarySubject]] [[removeDiaryRecord]] [[allDiarySubjects]]
|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 -->
<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.
<!-- DISCONTINUE Notes -->

Latest revision as of 15:52, 3 May 2021

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:
player removeDiarySubject "myPage";

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