BIS fnc manageCuratorChallenges: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = CuratorChallenges |GROUP1=")
m (Text replacement - "\[\[Category\:Function Group\: CuratorChallenges(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 48: Line 48:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: CuratorChallenges|{{uc:manageCuratorChallenges}}]]
 
[[Category:Functions|{{uc:manageCuratorChallenges}}]]
[[Category:Functions|{{uc:manageCuratorChallenges}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:manageCuratorChallenges}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:manageCuratorChallenges}}]]

Revision as of 12:40, 12 October 2020

Hover & click on the images for description

Description

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

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:
Return Value:
Boolean

Examples

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

Additional Information

See also:
CuratorBIS_fnc_formatCuratorChallengeObjectsBIS_fnc_finishCuratorChallengeBIS_fnc_addCuratorChallenge

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


Notes

Bottom Section