setSimpleTaskTarget: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2oa | | arma2oa | ||
|gr1= Briefing | |gr1= Briefing | ||
|1.55 | |1.55 | ||
| Attach a target to the simple task.<br>Overrides [[setSimpleTaskDestination]]. | | Attach a target to the simple task.<br>Overrides [[setSimpleTaskDestination]]. | ||
| | | task '''setSimpleTaskTarget''' [target, precisePosition] | ||
| | |p1 = task: [[Task]] | ||
| | |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) | ||
| [[Nothing]] | |||
| | |x1= <code>task setSimpleTaskTarget [targetVehicle, true];</code> | ||
| | | | [[briefing]], [[createSimpleTask]], [[setSimpleTaskDestination]] | ||
| | |||
}} | }} | ||
Revision as of 11:11, 18 January 2021
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
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