Description
Add challenges for curator to complete
Syntax
syntax inferred from the function header
[param0, param0, param1, param2] call BIS_fnc_addCuratorChallenge
Parameters:
param0— 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:param0— 0: OBJECT - curatorparam1— 1: NUMBER - number of previously completed challenges by given curatorparam2— 2: STRING - parent task ID 5 (Optional): STRING - parent task ID
Returns: STRING - ID of parent task under which all challenge tasks are
Function header
The comment at the top of the function's file in the game; this page's description, params, syntax, returns come from it.
/*
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
*/