Difference between revisions of "removeDiarySubject"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|exec=" to "|serverExec=")
m (Some wiki formatting)
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|=
+
{{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
____________________________________________________________________________________________
 
  
| 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= <sqf>player removeDiarySubject "myPage";</sqf>
  
| 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 -->
 
</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 16: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:

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