Diary: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add categories)
m (update v2.04)
 
(9 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]]
{{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%"
|-
! Subject commands !! Record commands !! Helper commands
|-
| [[createDiarySubject]] || [[createDiaryRecord]] || [[createDiaryLink]]
|-
| [[removeDiarySubject]] || [[removeDiaryRecord]] || [[processDiaryLink]]
|-
| [[selectDiarySubject]] || [[setDiaryRecordText]] ||
|-
| [[diarySubjectExists]] || [[diaryRecordNull]] ||
|-
| [[setDiarySubjectPicture]] || ||
|-
| [[allDiarySubjects]] || ||
|}


----
[[Category: Scripting Topics]]
 
__NOTOC__
{{TODO | Sort below note later}}
 
{{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. }}
 
 
 
Subject commands
 
* [[createDiarySubject]]
* [[removeDiarySubject]]
* [[selectDiarySubject]]
* [[diarySubjectExists]]
* [[setDiarySubjectPicture]]
* [[allDiarySubjects]]
 
 
Record commands
 
* [[createDiaryRecord]]
* [[removeDiaryRecord]]
* [[setDiaryRecordText]]
* [[diaryRecordNull]]
 
 
Helpers
 
* [[createDiaryLink]]
* [[processDiaryLink]]
 
 
{{GameCategory|arma2|Editing}}
{{GameCategory|arma3|Editing}}

Latest revision as of 15: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