---
name: "BIS_fnc_addCuratorChallenge"
type: function
status: ok
groups: ["CuratorChallenges"]
arma3_since: "1.16"
locality: {"argument": null, "effect": null, "server_exec": true}
source: https://community.bistudio.com/wiki/BIS_fnc_addCuratorChallenge
revid: 279021
updated: 2021-06-13T21:47:50Z
---

# BIS_fnc_addCuratorChallenge

*Function · CuratorChallenges · Arma 3 v1.16*

Locality: **server execution only**

## Description

Add challenges for curator to complete

## Syntax

*syntax inferred from the function header*

```sqf
[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 - curator
- `param1` — 1: NUMBER - number of previously completed challenges by given curator
- `param2` — 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.

```sqf
/*
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
*/
```

<sub>Source: [BI Community Wiki — BIS fnc addCuratorChallenge](https://community.bistudio.com/wiki/BIS_fnc_addCuratorChallenge) (revision 279021).</sub>
