BIS fnc onDiaryChanged: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
Line 43: Line 43:
}}
}}


<h3 style="display:none">Bottom Section</h3>
 


[[Category:Functions|{{uc:onDiaryChanged}}]]
[[Category:Functions|{{uc:onDiaryChanged}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:onDiaryChanged}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:onDiaryChanged}}]]

Revision as of 02:14, 18 January 2021

Hover & click on the images for description

Description

Description:
/*

	Description:
	Register code to be executed when diary item changes.

	Arguments passed into code are:
		0: DISPLAY - map display
		1: BOOL - true if clicked on subject list, false when on record list (clicking on subject may also trigger record)
		2: STRING - subject name
		3: STRING - record name
		4: ANY - passed arguments (index of onDiaryChanged code when no custom arguments were used)

	Parameter(s):
	_this:
		CODE
		ARRAY - code with custom arguments in format [CODE,ARG1,ARG2,...]
		NUMBER - remove code of given index

	Returns:
	NUMBER - index of onDiaryChanged code
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Event Handlers

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
See also needed

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