BIS fnc onDiaryChanged: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Misc(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1 = Event Handlers |GROUP1=
|gr1 = Event Handlers |GROUP1=
____________________________________________________________________________________________


| <pre>/*
| <pre>/*
Line 32: Line 30:


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_onDiaryChanged]]; --> |SYNTAX=
| <!-- [] call [[BIS_fnc_onDiaryChanged]]; --> |SYNTAX=
Line 39: Line 36:


| |RETURNVALUE=
| |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code></code> |EXAMPLE1=
|x1= <code></code> |EXAMPLE1=
____________________________________________________________________________________________


| |SEEALSO=
| |SEEALSO=

Revision as of 00:54, 17 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

Notes

Bottom Section