{"name":"BIS_fnc_finishCuratorChallenge","operator":null,"title":"BIS fnc finishCuratorChallenge","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_finishCuratorChallenge","revid":349249,"updated":"2023-11-08T14:51:00Z","groups":["CuratorChallenges"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.16"}],"since":{"game":"arma3","name":"Arma 3","version":"1.16"},"arma3_since":"1.16","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Handle repeated curator challenges.\n\tWhen rewards defined in the argument are exceeded, refilling points bar fill be offered instead. Number of challenges can be retrieved by","syntaxes":[{"syntax":"[curator,input,taskState]] call BIS_fnc_finishCuratorChallenge","since":null,"effect":null,"exec":null,"params":[{"name":"curator Object","type":null,"optional":false,"default":null,"description":"curator","types":["Object"],"since":null,"text":"curator Object - curator"},{"name":"input Array","type":null,"optional":false,"default":null,"description":"array in format:\n- 0: String - Challenge class name\n- 1: Object - Curator","types":["Array"],"since":null,"text":"input Array - array in format:\n- 0: String - Challenge class name\n- 1: Object - Curator"},{"name":"taskState String","type":null,"optional":false,"default":null,"description":"task state, can be:\n- \"SUCCEEDED\"\n- \"FAILED\"\n- \"CANCELED\"\n- \"ASSIGNED\"","types":["String"],"since":null,"text":"taskState String - task state, can be:\n- \"SUCCEEDED\"\n- \"FAILED\"\n- \"CANCELED\"\n- \"ASSIGNED\""}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"}}],"examples":[{"text":"```sqf\n[BIS_curator,[\"DestroyVehicle\",BIS_curator],\"SUCCEEDED\"] call BIS_fnc_finishCuratorChallenge;\n_number = BIS_curator getVariable \"DestroyVehicle\";\n```","code":["[BIS_curator,[\"DestroyVehicle\",BIS_curator],\"SUCCEEDED\"] call BIS_fnc_finishCuratorChallenge;\n_number = BIS_curator getVariable \"DestroyVehicle\";"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Curator","BIS_fnc_formatCuratorChallengeObjects","BIS_fnc_manageCuratorChallenges","BIS_fnc_addCuratorChallenge"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: CuratorChallenges","Functions","Introduced with Arma 3 version 1.16"],"docblock":null,"filled_from_docblock":[]}