BIS fnc finishCuratorChallenge: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: CuratorChallenges(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = CuratorChallenges |GROUP1= | |gr1 = CuratorChallenges |GROUP1= | ||
| Handle repeated curator challenges. | | Handle repeated curator challenges. | ||
When rewards defined in the argument are exceeded, refilling points bar fill be offered instead. Number of challenges can be retrieved by | When rewards defined in the argument are exceeded, refilling points bar fill be offered instead. Number of challenges can be retrieved by | ||
|Description= | |Description= | ||
| [curator,input,taskState]] call [[BIS_fnc_finishCuratorChallenge]] |Syntax= | | [curator,input,taskState]] call [[BIS_fnc_finishCuratorChallenge]] |Syntax= | ||
Line 29: | Line 26: | ||
| [[Boolean]] |Return value= | | [[Boolean]] |Return value= | ||
|x1= <code>[BIS_curator,["DestroyVehicle",BIS_curator],"SUCCEEDED"] [[call]] [[BIS_fnc_finishCuratorChallenge]]; | |x1= <code>[BIS_curator,["DestroyVehicle",BIS_curator],"SUCCEEDED"] [[call]] [[BIS_fnc_finishCuratorChallenge]]; | ||
Line 35: | Line 31: | ||
|Example 1= | |Example 1= | ||
| [[Curator]],[[BIS_fnc_formatCuratorChallengeObjects]],[[BIS_fnc_manageCuratorChallenges]],[[BIS_fnc_addCuratorChallenge]] |See also= | | [[Curator]],[[BIS_fnc_formatCuratorChallengeObjects]],[[BIS_fnc_manageCuratorChallenges]],[[BIS_fnc_addCuratorChallenge]] |See also= |
Revision as of 23:07, 16 January 2021
Description
- Description:
- Handle repeated curator challenges. When rewards defined in the argument are exceeded, refilling points bar fill be offered instead. Number of challenges can be retrieved by
- Execution:
- call
- Groups:
- CuratorChallenges
Syntax
- Syntax:
- [curator,input,taskState]] call BIS_fnc_finishCuratorChallenge
- Parameters:
- curator Object - Curator
- input Array - Array in format:
- taskState String - Task state, can be:
- "SUCCEEDED"
- "FAILED"
- "CANCELED"
- "ASSIGNED"
- Return Value:
- Boolean
Examples
- Example 1:
[BIS_curator,["DestroyVehicle",BIS_curator],"SUCCEEDED"] call BIS_fnc_finishCuratorChallenge; _number = BIS_curator getVariable "DestroyVehicle";
Additional Information
- See also:
- CuratorBIS_fnc_formatCuratorChallengeObjectsBIS_fnc_manageCuratorChallengesBIS_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