Difference between revisions of "BIS fnc manageCuratorChallenges"
Jump to navigation
Jump to search
m (GVI 1.00 --> 1.16 http://dev.arma3.com/post/spotrep-00023 (It's Zeus update, obvious)) |
m (Text replacement - "\[\[Category\:Function Group\: CuratorChallenges(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Function|Comments= | ||
+ | ____________________________________________________________________________________________ | ||
− | + | | arma3 |Game name= | |
+ | |||
+ | |1.16|Game version= | ||
+ | |||
+ | |gr1 = CuratorChallenges |GROUP1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | | + | | Handle repeated curator challenges. |
− | + | When rewards defined in the argument are exceeded, refilling points bar fill be offered instead. |Description= | |
− | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | | + | | [curator,challenges,numChallenges,rewards,defaultRewards]] call [[BIS_fnc_manageCuratorChallenges]] |Syntax= |
− | + | |p1=curator [[Object]] - Curator |Parameter 1= | |
− | |||
− | |||
− | + | |p2=challenges [[Array]] - (Optional, default all challenges) List of supported challenges from CfgCuratorChallenges |Parameter 2= | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | |p3=challenges [[Number]] - (Optional, default 3) Number of added challenges |Parameter 3= | |
− | |||
− | | | + | |p4=rewards [[Array]] of [[Array|arrays]] - (Optional, default []) Rewards and their descriptions in format: |
+ | *0: [[Code]] - Code executed | ||
+ | *1: [[String]] - Description|Parameter 4= | ||
− | | | + | |p5=defaultRewards [[Array]] of [[Array|arrays]] - (Optional, default []) Default reward, used when previous rewards are exausted in format: |
+ | *0: [[Code]] - Code executed | ||
+ | *1: [[String]] - Description|Parameter 5= | ||
− | | | | + | | [[Boolean]] |Return value= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | |x1= <code></code> |= | + | |x1= <code>[ BIS_curator, nil, 1, [ [{ [[hint]] "Message" }, "Description" ] ] ] [[call]] [[BIS_fnc_manageCuratorChallenges]];</code>|Example 1= |
+ | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | | | + | | [[Curator]],[[BIS_fnc_formatCuratorChallengeObjects]],[[BIS_fnc_finishCuratorChallenge]],[[BIS_fnc_addCuratorChallenge]] |See also= |
+ | }} | ||
− | |||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> | ||
Line 49: | Line 48: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
− | + | ||
[[Category:Functions|{{uc:manageCuratorChallenges}}]] | [[Category:Functions|{{uc:manageCuratorChallenges}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:manageCuratorChallenges}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:manageCuratorChallenges}}]] |