createTarget: Difference between revisions

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


| arma |Game name=
|game1= arma1
|version1= 1.00


|1.00|Game version=
|game2= arma2
|version2= 1.00


|gr1= Broken Commands |GROUP1=
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| Create a target. |DESCRIPTION=
|game4= tkoh
|version4= 1.00


|pr= {{Warning|This command is not implemented.}} |PROBLEMS=
|game5= arma3
____________________________________________________________________________________________
|version5= 0.50


| obj '''createTarget''' [type, position, typeAccuracy, posAccuracy] |SYNTAX=
|gr1= Broken Commands


|p1= obj: [[Object]] |PARAMETER1=
|descr= Create a target.


|p2= [type, position, typeAccuracy, posAccuracy]: [[Array]] |PARAMETER2=
|pr= {{Feature|warning|This command is not implemented.}}


|p3= type: [[String]] |PARAMETER3=
|s1= obj [[createTarget]] [type, position, typeAccuracy, posAccuracy]


|p4= position: [[Position]] Placement |PARAMETER4=
|p1= obj: [[Object]]


|p5= typeAccuracy: [[Number]] |PARAMETER5=
|p2= type: [[String]]


|p6= posAccuracy: [[Number]] |PARAMETER6=
|p3= position: [[Position]] Placement


| [[Target]] |RETURNVALUE=
|p4= typeAccuracy: [[Number]]
____________________________________________________________________________________________


| [[moveTarget]], [[deleteTarget]] |SEEALSO=
|p5= posAccuracy: [[Number]]
}}


<h3 style="display:none">Notes</h3>
|r1= [[Target]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>_target = createTarget ["targetType", [0,0,0], 1, 1];</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|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