Difference between revisions of "removeDiarySubject"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
 
{{Command|Comments=
 
{{Command|Comments=
____________________________________________________________________________________________
 
  
 
| arma3 |Game=
 
| arma3 |Game=
Line 13: Line 12:
  
 
|gr1= Briefing |GROUP1=
 
|gr1= Briefing |GROUP1=
____________________________________________________________________________________________
 
  
 
| Remove a subject from a log. |Description=
 
| Remove a subject from a log. |Description=
____________________________________________________________________________________________
 
  
 
| unit [[removeDiarySubject]] diaryPage |Syntax=
 
| unit [[removeDiarySubject]] diaryPage |Syntax=
Line 25: Line 22:
  
 
| Nothing |Return Value=
 
| Nothing |Return Value=
____________________________________________________________________________________________
 
  
 
|x1= <code>[[player]] [[removeDiarySubject]] "myPage";</code> |Example 1=
 
|x1= <code>[[player]] [[removeDiarySubject]] "myPage";</code> |Example 1=
____________________________________________________________________________________________
 
  
 
| [[createDiarySubject]] [[diarySubjectExists]] [[selectDiarySubject]] |See Also=
 
| [[createDiarySubject]] [[diarySubjectExists]] [[selectDiarySubject]] |See Also=

Revision as of 02:16, 17 January 2021

Hover & click on the images for description

Description

Description:
Remove a subject from a log.
Groups:
Briefing

Syntax

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

Examples

Example 1:
player removeDiarySubject "myPage";

Additional Information

See also:
createDiarySubject diarySubjectExists selectDiarySubject

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

Bottom Section

Posted on November 1, 2019 - 23:19 (UTC)
Mr H.
Removing a diary subject also removes the 'Records' it contains,recreating the same subject won't recover the records entries it contained.