createDiaryRecord: Difference between revisions
Jump to navigation
Jump to search
m (Improved formatting.) |
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
||
Line 51: | Line 51: | ||
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | [[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_Briefing|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Briefing|{{uc:{{PAGENAME}}}}]] |
Revision as of 10:57, 2 November 2011
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>