BIS fnc finishCuratorChallenge: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2") |
||
Line 17: | Line 17: | ||
*1: [[Object]] - Curator | *1: [[Object]] - Curator | ||
|p3= taskState [[String]] - | |p3= taskState [[String]] - task state, can be: | ||
*"SUCCEEDED" | *"SUCCEEDED" | ||
*"FAILED" | *"FAILED" |
Latest revision as of 15:51, 8 November 2023
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:
- Arma 3: Curator BIS_fnc_formatCuratorChallengeObjects BIS_fnc_manageCuratorChallenges BIS_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