createTarget: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
||
Line 18: | Line 18: | ||
|gr1= Broken Commands | |gr1= Broken Commands | ||
| Create a target. | |descr= Create a target. | ||
|pr= {{Feature|Warning|This command is not implemented.}} | |pr= {{Feature|Warning|This command is not implemented.}} |
Revision as of 20:58, 13 June 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