createDiaryRecord

From Bohemia Interactive Community
Revision as of 15:54, 15 January 2011 by Alwarren (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
creates a diary entry. You can set up some html, like :
  • <br /> - insert a linebreak
  • <marker name="markername">link</marker> - place a link to a marker
  • <img image="picture.paa" /> - put an image.
Groups:
Uncategorised

Syntax

Syntax:
unitName createDiaryRecord parameters
Parameters:
unitName: Object
parameters: Array.
can be [subject, text(, task(, state))]
or [subject, [title, text](, task(, state))]
Return Value:
text: String

Examples

Example 1:
player createDiaryRecord ["Diary", ["My title", "Informations gathered"]]
Example 2:
player createDiaryRecord ["Diary", "Informations gathered"]

Additional Information

See also:
createDiarySubject

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

I haven't seen this mentioned elsewhere: In order to insert a link into a diary record that executes code instead of jumping to a marker, use the tag <execute expression="Code to execute">Text</execute>

Bottom Section