BIS fnc finishCuratorChallenge: Difference between revisions

From Bohemia Interactive Community
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 (pf)
Line 1: Line 1:
{{Function|Comments=
____________________________________________________________________________________________
| arma3 |Game name=


{{Function|= Comments
|1.16|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| 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
|1.16|= Game version
|Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| [curator,input,taskState]] call [[BIS_fnc_finishCuratorChallenge]] |Syntax=


Description:
|p1=curator [[Object]] - Curator |Parameter 1=
Return number of completed curator challenges


Parameter(s):
|p2=input [[Array]] - Array in format:
0: OBJECT - curator
*0: [[String]] - Challenge class name
1: ARRAY in format [<challengeClass>,<curator>]
*1: [[Object]] - Curator  |Parameter 2=
2: STRING - task state


Returns:
|p3= taskState [[String]] - Task state, can be:
BOOL
*"SUCCEEDED"
*/
*"FAILED"
*"CANCELED"
*"ASSIGNED" |Parameter 3=


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[Boolean]] |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_finishCuratorChallenge]]; --> |= Syntax
|x1= <code>[BIS_curator,["DestroyVehicle",BIS_curator],"SUCCEEDED"] [[call]] [[BIS_fnc_finishCuratorChallenge]];
 
_number = BIS_curator [[getVariable]] "DestroyVehicle";</code>
|p1= |= Parameter 1
|Example 1=


| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
| [[Curator]],[[BIS_fnc_formatCuratorChallengeObjects]],[[BIS_fnc_manageCuratorChallenges]],[[BIS_fnc_addCuratorChallenge]]  |See also=
____________________________________________________________________________________________
}}
 
| |= See also


}}


<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>

Revision as of 00:52, 22 June 2018

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

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


Notes

Bottom Section