Difference between revisions of "removeDiarySubject"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{RV|type=command
 
{{RV|type=command
  
| arma3
+
|game1= arma3
 +
|version1= 1.96
  
|1.96
+
|eff= local
 
 
|arg=
 
 
 
|eff=
 
 
 
|serverExec=
 
  
 
|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= <code>[[player]] [[removeDiarySubject]] "myPage";</code>
Line 27: Line 22:
 
|seealso= [[createDiarySubject]] [[diarySubjectExists]] [[selectDiarySubject]] [[removeDiaryRecord]] [[allDiarySubjects]]
 
|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 -->
 
</dl>
 
 
 
{{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.
 
</dd>
 
</dl>
 
<!-- DISCONTINUE Notes -->
 

Latest revision as of 15:52, 3 May 2021

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