BIS fnc taskSetDestination: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Updated function description)
Line 12: Line 12:
Description:
Description:
Set a task's destination.
Set a task's destination.
 
Parameters:
Parameters:
0: STRING - Task name
0: STRING - task name
1: OBJECT or ARRAY - Task destination
1: OBJECT or ARRAY 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
[X,Y,Z] - position - task will be on given positon
STRING - marker name - task will be at markers current position
(position not updated if marker moves)
 
Returns:
Returns:
BOOL
STRING - Task ID
*/
*/



Revision as of 13:13, 15 September 2016


Hover & click on the images for description

Description

Description:
/*
	
	Description:
	Set a task's destination.

	Parameters:
		0: STRING - task name
		1: OBJECT or ARRAY 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
			[X,Y,Z] - position - task will be on given positon
			STRING - marker name - task will be at markers current position
				(position not updated if marker moves)

	Returns:
	STRING - Task ID
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

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