BIS fnc taskReal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
 
{{Function|Comments=
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


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


| <pre>/*
| Find the actual task associated with a task name assigned to a unit.|Description=
____________________________________________________________________________________________
Description:
Find the actual task associated with a task name assigned to a unit.
Parameters:
0: STRING - Task name
1: OBJECT - Task owner
Returns:
The actual task.
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [taskName, owner] call [[BIS_fnc_taskReal]] |Syntax=
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_taskReal]]; --> |= Syntax
|p1= taskName: [[String]] |Parameter 1=


|p1= |= Parameter 1
|p2= owner: [[Object]] - Task owner |Parameter 2=


| |= Return value
| [Task] - Task |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= [ "testTask", [[player]] ] [[call]] [[BIS_fnc_taskReal]];
//Returns '''Task testTask (id 0)'''|Example 1=
 
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[:Category:Function Group: Tasks|Task Functions]], [[Arma 3 Tasks Overhaul]] |See also=
}}


}}


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

Revision as of 01:06, 20 June 2018

Hover & click on the images for description

Description

Description:
Find the actual task associated with a task name assigned to a unit.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[taskName, owner] call BIS_fnc_taskReal
Parameters:
taskName: String
owner: Object - Task owner
Return Value:
[Task] - Task

Examples

Example 1:
[ "testTask", player ] call BIS_fnc_taskReal; //Returns Task testTask (id 0)

Additional Information

See also:
Task FunctionsArma 3 Tasks Overhaul

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