BIS fnc finishCuratorChallenge: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[[^ ]+\] (call|spawn) ('''|\[\[)BI(N|S)_fnc_[a-zA-Z0-9_]+('''|\]\]));? \| *p1 *=" to " |s1=$1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= CuratorChallenges
|gr1= CuratorChallenges


| Handle repeated curator challenges.
|descr= 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  



Revision as of 21:47, 13 June 2021

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. 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: 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