createTarget: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Remove future-use usage)
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

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Create a target.
Problems:
This command is not implemented.
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

Notes

Bottom Section