currentTask: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 9: Line 8:


|1.00|Game version=
|1.00|Game version=
____________________________________________________________________________________________


| Return current task of given person. |DESCRIPTION=
| Return current task of given person. |DESCRIPTION=
____________________________________________________________________________________________


| '''currentTask''' person |SYNTAX=
| '''currentTask''' person |SYNTAX=
Line 27: Line 24:
|x1= <code>_currTask = [[currentTask]] [[player]];</code>|EXAMPLE1=  
|x1= <code>_currTask = [[currentTask]] [[player]];</code>|EXAMPLE1=  


____________________________________________________________________________________________


| [[taskNull]], [[createSimpleTask]], [[simpleTasks]], [[taskCompleted]] |SEEALSO=  
| [[taskNull]], [[createSimpleTask]], [[simpleTasks]], [[taskCompleted]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 00:46, 17 January 2021

Hover & click on the images for description

Description

Description:
Return current task of given person.
Groups:
Briefing

Syntax

Syntax:
currentTask person
Parameters:
person: Object -
Return Value:
Task

Examples

Example 1:
_currTask = currentTask player;

Additional Information

See also:
taskNullcreateSimpleTasksimpleTaskstaskCompleted

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