createTarget: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma1
|game1= arma1
|version1= 1.00


|1.00
|game2= arma2
|version2= 1.00
 
|game3= arma2oa
|version3= 1.50
 
|game4= tkoh
|version4= 1.00
 
|game5= arma3
|version5= 0.50


|gr1= Broken Commands
|gr1= Broken Commands


| Create a target.
|descr= Create a target.


|pr= {{Warning|This command is not implemented.}}
|pr= {{Feature|warning|This command is not implemented.}}


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


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


|p2= [type, position, typeAccuracy, posAccuracy]: [[Array]]
|p2= type: [[String]]
 
|p3= type: [[String]]


|p4= position: [[Position]] Placement
|p3= position: [[Position]] Placement


|p5= typeAccuracy: [[Number]]
|p4= typeAccuracy: [[Number]]


|p6= posAccuracy: [[Number]]
|p5= posAccuracy: [[Number]]


| [[Target]]
|r1= [[Target]]


|x1= <code>_target = '''createTarget''' ["targetType", [0,0,0], 1, 1]</code>
|x1= <sqf>_target = createTarget ["targetType", [0,0,0], 1, 1];</sqf>


| [[moveTarget]], [[deleteTarget]]
|seealso= [[moveTarget]] [[deleteTarget]]
}}
}}

Latest revision as of 00:25, 2 February 2024

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: 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:
moveTarget deleteTarget

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