Diary: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "WIP Subject commands * createDiarySubject * removeDiarySubject * selectDiarySubject * diarySubjectExists Record commands * createDiaryRecord * remo...")
 
m (update v2.04)
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
WIP
[[File:A3 Diary v2.jpg|350px|right]]


== 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
|}


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


* [[createDiarySubject]]
=== Related Commands ===
* [[removeDiarySubject]]
* [[:Category:Command Group: Briefing|Command Group: Briefing]]
* [[selectDiarySubject]]
{| class="wikitable" width="30%"
* [[diarySubjectExists]]
|-
! Subject commands !! Record commands !! Helper commands
|-
| [[createDiarySubject]] || [[createDiaryRecord]] || [[createDiaryLink]]
|-
| [[removeDiarySubject]] || [[removeDiaryRecord]] || [[processDiaryLink]]
|-
| [[selectDiarySubject]] || [[setDiaryRecordText]] ||
|-
| [[diarySubjectExists]] || [[diaryRecordNull]] ||
|-
| [[setDiarySubjectPicture]] || ||
|-
| [[allDiarySubjects]] || ||
|}


 
[[Category: Scripting Topics]]
Record commands
__NOTOC__
 
* [[createDiaryRecord]]
* [[removeDiaryRecord]]
* [[setDiaryRecordText]]
* [[diaryRecordNull]]
 
Helpers
 
* [[createDiaryLink]]
* [[processDiaryLink]]

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