Difference between revisions of "Diary"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{WIP}}" to "{{Feature|WIP}}")
m (table)
Line 33: Line 33:
 
{{Informative | In {{arma3}} the top subject called "Map" but it is a dummy, the 1st subject is Tasks, internal name is also "Tasks" and it is hidden until there are any assigned tasks to show. It cannot be modified directly. Second subject is called "Briefing", but its internal name is "Diary", this can be modified and selected. Next is called "Team", internal name "Units", cannot be modified but can be selected. Next is called "Players" (same internal name) but it is hidden in SP and also cannot be modified. Next is called "Statistics" (same internal name), hidden until there are some statistics to show (kills etc), cannot be modified. Any custom subjects created with [[createDiarySubject]] go at the bottom and can be modified. }}  
 
{{Informative | In {{arma3}} the top subject called "Map" but it is a dummy, the 1st subject is Tasks, internal name is also "Tasks" and it is hidden until there are any assigned tasks to show. It cannot be modified directly. Second subject is called "Briefing", but its internal name is "Diary", this can be modified and selected. Next is called "Team", internal name "Units", cannot be modified but can be selected. Next is called "Players" (same internal name) but it is hidden in SP and also cannot be modified. Next is called "Statistics" (same internal name), hidden until there are some statistics to show (kills etc), cannot be modified. Any custom subjects created with [[createDiarySubject]] go at the bottom and can be modified. }}  
  
 
+
{| class="wikitable" width="30%"
 
+
|-
Subject commands
+
! Subject commands !! Record commands !! Helper commands
 
+
|-
* [[createDiarySubject]]
+
| [[createDiarySubject]] || [[createDiaryRecord]] || [[createDiaryLink]]
* [[removeDiarySubject]]
+
|-
* [[selectDiarySubject]]
+
| [[removeDiarySubject]] || [[removeDiaryRecord]] || [[processDiaryLink]]
* [[diarySubjectExists]]
+
|-
* [[setDiarySubjectPicture]]
+
| [[selectDiarySubject]] || [[setDiaryRecordText]] ||
* [[allDiarySubjects]]
+
|-
 
+
| [[diarySubjectExists]] || [[diaryRecordNull]] ||
 
+
|-
Record commands
+
| [[setDiarySubjectPicture]] || ||
 
+
|-
* [[createDiaryRecord]]
+
| [[allDiarySubjects]] || ||
* [[removeDiaryRecord]]
+
|}
* [[setDiaryRecordText]]
 
* [[diaryRecordNull]]
 
 
 
 
 
Helpers
 
 
 
* [[createDiaryLink]]
 
* [[processDiaryLink]]
 
 
 
  
 
[[Category: Scripting Topics]]
 
[[Category: Scripting Topics]]

Revision as of 18:13, 5 February 2021

A3 Diary v2.jpg

-unknown feature ("WIP") defined-

Subjects

Default Subjects

Display Name Internal Name Can be Linked Can be Edited Notes
Map Map Template:Checkbox Template:Checkbox Dummy tab
Tasks Tasks Template:Checkbox Template:Checkbox Hidden when no tasks exist
Briefing Diary Template:Checkbox Template:Checkbox Always shown, even when empty. Can be edited with createDiaryRecord.
Team Units Template:Checkbox Template:Checkbox Always shown
Players Players Template:Checkbox Template:Checkbox Hidden in singleplayer
Statistics Statistics Template:Checkbox Template:Checkbox Hidden until scores are changed

Custom Subjects

Can be created with createDiarySubject - they go after all the default ones and can obviously be modified.



Template:TODO

Template:Informative

Subject commands Record commands Helper commands
createDiarySubject createDiaryRecord createDiaryLink
removeDiarySubject removeDiaryRecord processDiaryLink
selectDiarySubject setDiaryRecordText
diarySubjectExists diaryRecordNull
setDiarySubjectPicture
allDiarySubjects