createTarget: Difference between revisions
Jump to navigation
Jump to search
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...) |
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Bottom Section</h3>" to "") |
||
Line 31: | Line 31: | ||
| [[moveTarget]], [[deleteTarget]] | | [[moveTarget]], [[deleteTarget]] | ||
}} | }} | ||
Revision as of 14:10, 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