BIS_fnc_manageCuratorChallenges

From Bohemia Interactive Community
Revision as of 00:43, 22 June 2018 by R3vo (talk | contribs) (pf)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Introduced with Arma 3 version 1.161.16
Hover & click on the images for descriptions

Description

Description:
Handle repeated curator challenges. When rewards defined in the argument are exceeded, refilling points bar fill be offered instead.

Syntax

Syntax:
[curator,challenges,numChallenges,rewards,defaultRewards]] call BIS_fnc_manageCuratorChallenges
Parameters:
curator Object - Curator
challenges Array - (Optional, default all challenges) List of supported challenges from CfgCuratorChallenges
challenges Number - (Optional, default 3) Number of added challenges
rewards Array of arrays - (Optional, default []) Rewards and their descriptions in format:
defaultRewards Array of arrays - (Optional, default []) Default reward, used when previous rewards are exausted in format:
  • 0: Code - Code executed
  • 1: String - Description
  • Return Value:
    Boolean

    Examples

    Example 1:
    [ BIS_curator, nil, 1, [ [{ hint "Message" }, "Description" ] ] ] call BIS_fnc_manageCuratorChallenges;

    Additional Information

    Execution:
    call
    See also:
    CuratorBIS_fnc_formatCuratorChallengeObjectsBIS_fnc_finishCuratorChallengeBIS_fnc_addCuratorChallenge

    Notes

    i
    Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.


    Notes

    Bottom Section