setSimpleTaskTarget: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (formatting)
 
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma2oa |= Game name
|game1= arma2oa
|version1= 1.50


|1.55|= Game version
|game2= tkoh
____________________________________________________________________________________________
|version2= 1.00


| Attach a target to the simple task.<br>Overrides [[setSimpleTaskDestination]].
|game3= arma3
|DESCRIPTION=
|version3= 0.50
____________________________________________________________________________________________


| task '''setSimpleTaskTarget''' [target, precisePosition] |SYNTAX=
|gr1= Briefing


|p1 = task: [[Task]] |PARAMETER1=
|descr= Attach a target to the simple task.<br>Overrides [[setSimpleTaskDestination]].


|p2 = target: [[Object]] |PARAMETER2=
|s1= task [[setSimpleTaskTarget]] [target, precisePosition]


|p3 = precisePosition: [[Boolean]] - use exact position of the target for map marker / HUD indicator instead of the position known to the owner of the task (depending on the knowledge about the target) |PARAMETER3=
|p1= task: [[Task]]


| [[Nothing]] |RETURNVALUE=
|p2= target: [[Object]]


|p3= precisePosition: [[Boolean]] - use exact position of the target for map marker / HUD indicator instead of the position known to the owner of the task (depending on the knowledge about the target)


|x1= <code>task setSimpleTaskTarget [targetVehicle, true];</code>|EXAMPLE1= 
|r1= [[Nothing]]
____________________________________________________________________________________________


| [[briefing]], [[createSimpleTask]], [[setSimpleTaskDestination]] |SEEALSO=
|x1= <sqf>task setSimpleTaskTarget [targetVehicle, true];</sqf>


| |MPBEHAVIOUR=  
|seealso= [[briefing]] [[createSimpleTask]] [[setSimpleTaskDestination]]
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Briefing|{{uc:{{PAGENAME}}}}]]

Latest revision as of 17:39, 20 April 2022

Hover & click on the images for description

Description

Description:
Attach a target to the simple task.
Overrides setSimpleTaskDestination.
Groups:
Briefing

Syntax

Syntax:
task setSimpleTaskTarget [target, precisePosition]
Parameters:
task: Task
target: Object
precisePosition: Boolean - use exact position of the target for map marker / HUD indicator instead of the position known to the owner of the task (depending on the knowledge about the target)
Return Value:
Nothing

Examples

Example 1:
task setSimpleTaskTarget [targetVehicle, true];

Additional Information

See also:
briefing createSimpleTask setSimpleTaskDestination

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