createTarget: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma1 * * *\| *([0-1]\.[0-9]{2}) * \|game2" to "|game1= arma1 |version1= $1 |game2")
m (Text replacement - "\|s1= +" to "|s1= ")
Line 22: Line 22:
|pr= {{Feature|Warning|This command is not implemented.}}
|pr= {{Feature|Warning|This command is not implemented.}}


|s1= obj '''createTarget''' [type, position, typeAccuracy, posAccuracy]
|s1= obj '''createTarget''' [type, position, typeAccuracy, posAccuracy]


|p1= obj: [[Object]]
|p1= obj: [[Object]]

Revision as of 16:40, 19 June 2021

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