setTaskState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(populated)
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set a new state of the task. |= Description
| Set a new task's state. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 14: Line 14:
|p1= task: [[Task]] |= PARAMETER1  
|p1= task: [[Task]] |= PARAMETER1  


|p2= state: [[String]] |= PARAMETER2  
|p2= state: [[String]], choose between "Succeeded", "Failed", or "Canceled |= PARAMETER2  


|p3= |= PARAMETER3  
|p3= |= PARAMETER3  
Line 21: Line 21:




|x1= <code>(example)</code>|= EXAMPLE1  
|x1= <code>_tskKillSpongebob setTaskState "Succeeded"</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 23:29, 14 July 2009

Hover & click on the images for description

Description

Description:
Set a new task's state.
Groups:
Uncategorised

Syntax

Syntax:
task setTaskState state
Parameters:
task: Task
state: String, choose between "Succeeded", "Failed", or "Canceled
Return Value:
Return value needed

Examples

Example 1:
_tskKillSpongebob setTaskState "Succeeded"

Additional Information

See also:
See also needed

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