Diary: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{WIP}}" to "{{Feature|WIP}}")
m (update v2.04)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:A3 Diary v2.jpg|350px|right]]
[[File:A3 Diary v2.jpg|350px|right]]
{{Feature|WIP}}


== Subjects ==
== Subjects ==
=== Default Subjects ===
=== Default Subjects ===
{| class="wikitable"
{| class="wikitable"
! Display Name !! Internal Name !! Can be Linked !! Can be Edited !! Notes
! Display Name !! Internal Name !! Can be Linked !! Can be Edited !! Notes
|-
|-
| Map || Map || {{Checkbox|no}} || {{Checkbox|no}} || Dummy tab
| Map || Map || {{Icon|unchecked}} || {{Icon|unchecked}} || Dummy tab
|-
|-
| Tasks || Tasks || {{Checkbox|yes}} || {{Checkbox|no}} || Hidden when no tasks exist
| Tasks || Tasks || {{Icon|checked}} || {{Icon|unchecked}} || Hidden when no tasks exist
|-
|-
| Briefing || Diary || {{Checkbox|yes}} || {{Checkbox|yes}} || Always shown, even when empty. Can be edited with [[createDiaryRecord]].
| Briefing || Diary || {{Icon|checked}} || {{Icon|checked}} || Always shown, even when empty. Can be edited with [[createDiaryRecord]].
|-
|-
| Team || Units || {{Checkbox|yes}} || {{Checkbox|no}} || Always shown
| Team || Units || {{Icon|checked}} || {{Icon|unchecked}} || Always shown
|-
|-
| Players || Players || {{Checkbox|yes}} || {{Checkbox|no}} || Hidden in singleplayer
| Players || Players || {{Icon|checked}} || {{Icon|unchecked}} || Hidden in singleplayer
|-
|-
| Statistics || Statistics || {{Checkbox|yes}} || {{Checkbox|no}} || Hidden until scores are changed
| Statistics || Statistics || {{Icon|checked}} || {{Icon|unchecked}} || Hidden until scores are changed
|}
|}


=== Custom Subjects ===
=== Custom Subjects ===
Can be created with [[createDiarySubject]] - they go after all the default ones and can obviously be modified.
Can be created with [[createDiarySubject]] - they go after all the default ones and can obviously be modified.


 
=== Related Commands ===
----
* [[:Category:Command Group: Briefing|Command Group: Briefing]]
 
{| class="wikitable" width="30%"
{{TODO | Sort below note later}}
|-
 
! Subject commands !! Record commands !! Helper commands
{{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. }}
|-
 
| [[createDiarySubject]] || [[createDiaryRecord]] || [[createDiaryLink]]
 
|-
 
| [[removeDiarySubject]] || [[removeDiaryRecord]] || [[processDiaryLink]]
Subject commands
|-
 
| [[selectDiarySubject]] || [[setDiaryRecordText]] ||
* [[createDiarySubject]]
|-
* [[removeDiarySubject]]
| [[diarySubjectExists]] || [[diaryRecordNull]] ||
* [[selectDiarySubject]]
|-
* [[diarySubjectExists]]
| [[setDiarySubjectPicture]] || ||
* [[setDiarySubjectPicture]]
|-
* [[allDiarySubjects]]
| [[allDiarySubjects]] || ||
 
|}
 
Record commands
 
* [[createDiaryRecord]]
* [[removeDiaryRecord]]
* [[setDiaryRecordText]]
* [[diaryRecordNull]]
 
 
Helpers
 
* [[createDiaryLink]]
* [[processDiaryLink]]
 


[[Category: Scripting Topics]]
[[Category: Scripting Topics]]
__NOTOC__

Latest revision as of 16:08, 27 April 2021

A3 Diary v2.jpg

Subjects

Default Subjects

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

Custom Subjects

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

Related Commands

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