BIS fnc manageCuratorChallenges: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.16 | |||
|1.16 | |||
|gr1= CuratorChallenges | |gr1= CuratorChallenges |
Revision as of 22:49, 13 June 2021
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:
- Arma 3: 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