createTarget: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Remove future-use usage) |
Lou Montana (talk | contribs) m (Add example) |
||
Line 29: | Line 29: | ||
| [[Target]] |RETURNVALUE= | | [[Target]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | |||
|x1= <code>_target = '''createTarget''' ["targetType", [0,0,0], 1, 1]</code> |EXAMPLE1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 02:13, 26 December 2020
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