BIS fnc taskSetDestination: Difference between revisions
Jump to navigation
Jump to search
(Updated function description) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
____________________________________________________________________________________________ | |||
| arma3 |Game name= | |||
|1.00|Game version= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Set a task's destination. |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [taskName, destination] call [[BIS_fnc_taskSetDestination]] |Syntax= | ||
|p1= taskName: [[String]] |Parameter 1= | |||
|p2= destination: [[Object]], [[Array]], [[Position]] or [[String]] - Task destination | |||
*[[Object]]: Task will be displayed on the object if player knows about it, otherwise it will be on estimated position or even hidden | |||
* | *[ [[Object]], [[true]] ]: Task will be on exact object position, even if player doesn't know about the object | ||
*[[Position]]: Task will be on given positon | |||
*[[String]]: Marker name. Task will be at markers current position (Won't update if marker was moved) |Parameter 2= | |||
| [[String]] - Task ID |Return value= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |x1= ["BIS_task_01",[1337,1337,0]] [[call]] [[BIS_fnc_taskSetDestination]];|Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[:Category:Function Group: Tasks|Task Functions]], [[Arma 3 Tasks Overhaul]] |See also= | ||
| | |||
}} | }} | ||
Revision as of 00:25, 20 June 2018
Description
- Description:
- Set a task's destination.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [taskName, destination] call BIS_fnc_taskSetDestination
- Parameters:
- taskName: String
- destination: Object, Array, Position or String - Task destination
- Object: Task will be displayed on the object if player knows about it, otherwise it will be on estimated position or even hidden
- [ Object, true ]: Task will be on exact object position, even if player doesn't know about the object
- Position: Task will be on given positon
- String: Marker name. Task will be at markers current position (Won't update if marker was moved)
- Return Value:
- String - Task ID
Examples
- Example 1:
- ["BIS_task_01",[1337,1337,0]] call BIS_fnc_taskSetDestination;
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