BIS fnc onDiaryChanged: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \|s1= <!-- ([^ ]+); --> \}\}" to " |s1= <!-- $1 --> |r1= |x1= <!-- <code>$1;</code> --> |seealso= }} ")
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?(call|spawn) \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
 
Line 34: Line 34:
|r1=
|r1=


|x1= <!-- <code>[] call [[BIS_fnc_onDiaryChanged]];</code> -->
|x1= <!-- <sqf>[] call BIS_fnc_onDiaryChanged;</sqf> -->


|seealso=
|seealso=
}}
}}

Latest revision as of 13:09, 5 May 2022

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

Examples:
Example needed

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