BIS fnc taskReal: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
{{Function|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Find the actual task associated with a task name assigned to a unit.|Description= | ||
____________________________________________________________________________________________ | |||
| [taskName, owner] call [[BIS_fnc_taskReal]] |Syntax= | |||
| | |p1= taskName: [[String]] |Parameter 1= | ||
| | |p2= owner: [[Object]] - Task owner |Parameter 2= | ||
| | | | [Task] - Task |Return value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= | |x1= [ "testTask", [[player]] ] [[call]] [[BIS_fnc_taskReal]]; | ||
//Returns '''Task testTask (id 0)'''|Example 1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | | [[: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 00:06, 20 June 2018
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