BIS fnc addCuratorChallenge: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
 
(28 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.16


| arma3 |= Game name
|gr1= CuratorChallenges


|1.16|= Game version
|serverExec= server
____________________________________________________________________________________________


| <pre>/*
|descr= <pre>/*


Description:
Description:
Line 28: Line 28:
Returns:
Returns:
STRING - ID of parent task under which all challenge tasks are
STRING - ID of parent task under which all challenge tasks are
*/
*/</pre>


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


| <!-- [] call [[BIS_fnc_addCuratorChallenge]]; --> |SYNTAX=
|s1= <!-- [] call [[BIS_fnc_addCuratorChallenge]] -->


|p1= |PARAMETER1=
|r1=


| |RETURNVALUE=
|x1=
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |SEEALSO=


|seealso=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: CuratorChallenges|{{uc:addCuratorChallenge}}]]
[[Category:Functions|{{uc:addCuratorChallenge}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:addCuratorChallenge}}]]

Latest revision as of 23:47, 13 June 2021

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

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