BIS fnc onDiaryChanged: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?(call|spawn) \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
|version1= 1.00


|1.00
|gr1= Event Handlers


|gr1 = Event Handlers
|descr= <pre>/*
 
| <pre>/*


Description:
Description:
Line 27: Line 26:
Returns:
Returns:
NUMBER - index of onDiaryChanged code
NUMBER - index of onDiaryChanged code
*/
*/</pre>
 
{{Wiki|placeholder}}


{{placeholder}}
|s1= <!-- [] call [[BIS_fnc_onDiaryChanged]] -->


| <!-- [] call [[BIS_fnc_onDiaryChanged]]; -->
|r1=


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


|x1=
|seealso=
}}
}}

Latest revision as of 14: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