BIS fnc addCuratorChallenge: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = CuratorChallenges |GROUP1=")
m (Text replacement - "\[\[Category\:Function Group\: CuratorChallenges(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 56: Line 56:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: CuratorChallenges|{{uc:addCuratorChallenge}}]]
 
[[Category:Functions|{{uc:addCuratorChallenge}}]]
[[Category:Functions|{{uc:addCuratorChallenge}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:addCuratorChallenge}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:addCuratorChallenge}}]]

Revision as of 14:41, 12 October 2020

Hover & click on the images for description

Description

Description:
/*

	Description:
	Add challenges for curator to complete

	Parameter(s):
		0: OBJECT - curator
		1 (Optional): ARRAY - list of supported challenges from CfgCuratorChallenges (default: all challenges)
		2 (Optional): NUMBER - number of added challenges (default: 3)
		3 (Optional): CODE - condition for challenges to remain active {default: true}
		4 (optional):
			CODE or [CODE,STRING] - code executed upon completing all challenges and reward description
			Arguments passed to the code are:
				0: OBJECT - curator
				1: NUMBER - number of previously completed challenges by given curator
				2: STRING - parent task ID
		5 (Optional): STRING - parent task ID

	Returns:
	STRING - ID of parent task under which all challenge tasks are
*/

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

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