createTarget: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|gr1= Broken Commands | |gr1= Broken Commands | ||
| Create a target. | | Create a target. | ||
|pr= {{Warning|This command is not implemented.}} | |pr= {{Warning|This command is not implemented.}} | ||
| obj '''createTarget''' [type, position, typeAccuracy, posAccuracy] | | obj '''createTarget''' [type, position, typeAccuracy, posAccuracy] | ||
|p1= obj: [[Object]] | |p1= obj: [[Object]] | ||
|p2= [type, position, typeAccuracy, posAccuracy]: [[Array]] | |p2= [type, position, typeAccuracy, posAccuracy]: [[Array]] | ||
|p3= type: [[String]] | |p3= type: [[String]] | ||
|p4= position: [[Position]] Placement | |p4= position: [[Position]] Placement | ||
|p5= typeAccuracy: [[Number]] | |p5= typeAccuracy: [[Number]] | ||
|p6= posAccuracy: [[Number]] | |p6= posAccuracy: [[Number]] | ||
| [[Target]] | | [[Target]] | ||
|x1= <code>_target = '''createTarget''' ["targetType", [0,0,0], 1, 1]</code> | |x1= <code>_target = '''createTarget''' ["targetType", [0,0,0], 1, 1]</code> | ||
| [[moveTarget]], [[deleteTarget]] | | [[moveTarget]], [[deleteTarget]] | ||
}} | }} | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> |
Revision as of 00:12, 18 January 2021
Description
- Description:
- Create a target.
- Problems:
- Groups:
- Broken Commands
Syntax
- Syntax:
- obj createTarget [type, position, typeAccuracy, posAccuracy]
- Parameters:
- obj: Object
- [type, position, typeAccuracy, posAccuracy]: Array
- type: String
- position: Position Placement
- typeAccuracy: Number
- posAccuracy: Number
- Return Value:
- Target
Examples
- Example 1:
_target = createTarget ["targetType", [0,0,0], 1, 1]
Additional Information
- See also:
- moveTargetdeleteTarget
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