Difference between revisions of "Diary"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (update v2.04)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
WIP
+
[[File:A3 Diary v2.jpg|350px|right]]
  
Fixed Subjects: Tasks, Diary, Units, Players, Statistics
+
== Subjects ==
 +
=== Default Subjects ===
 +
{| class="wikitable"
 +
! Display Name !! Internal Name !! Can be Linked !! Can be Edited !! Notes
 +
|-
 +
| Map || Map || {{Icon|unchecked}} || {{Icon|unchecked}} || Dummy tab
 +
|-
 +
| Tasks || Tasks || {{Icon|checked}} || {{Icon|unchecked}} || Hidden when no tasks exist
 +
|-
 +
| Briefing || Diary || {{Icon|checked}} || {{Icon|checked}} || Always shown, even when empty. Can be edited with [[createDiaryRecord]].
 +
|-
 +
| Team || Units || {{Icon|checked}} || {{Icon|unchecked}} || Always shown
 +
|-
 +
| Players || Players || {{Icon|checked}} || {{Icon|unchecked}} || Hidden in singleplayer
 +
|-
 +
| Statistics || Statistics || {{Icon|checked}} || {{Icon|unchecked}} || Hidden until scores are changed
 +
|}
  
* displayed name: Tasks; link name: Tasks; hidden when no tasks exist; read-only
+
=== Custom Subjects ===
* displayed name: Briefing; link name: Diary; always shown; can be added to
+
Can be created with [[createDiarySubject]] - they go after all the default ones and can obviously be modified.
* displayed name: Team; link name: Units; always shown; read-only
 
* displayed name: Players; link name: Players; hidden when in SP; read-only
 
* displayed name: Statistics; link name: Statistics; hidden until there are scores to show; read-only
 
  
 +
=== 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]] || ||
 +
|}
  
Subject commands
+
[[Category: Scripting Topics]]
 
+
__NOTOC__
* [[createDiarySubject]]
 
* [[removeDiarySubject]]
 
* [[selectDiarySubject]]
 
* [[diarySubjectExists]]
 
* [[setDiarySubjectPicture]]
 
 
 
 
 
Record commands
 
 
 
* [[createDiaryRecord]]
 
* [[removeDiaryRecord]]
 
* [[setDiaryRecordText]]
 
* [[diaryRecordNull]]
 
 
 
 
 
Helpers
 
 
 
* [[createDiaryLink]]
 
* [[processDiaryLink]]
 

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