createTarget: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{future-use}}
{{RV|type=command
{{Command|Comments=
____________________________________________________________________________________________


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


x1= t|1.00|= Game version
|game2= arma2
____________________________________________________________________________________________
|version2= 1.00


| Create a target. <b>Not yet implemented.</b>  |DESCRIPTION=
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| [[Target]] <nowiki>=</nowiki> obj '''createTarget''' [type, position, typeAccuracy, posAccuracy] |SYNTAX=
|game4= tkoh
|version4= 1.00


|p1= obj: [[Object]] |PARAMETER1=
|game5= arma3
|version5= 0.50


|gr1= Broken Commands


|p2= [type, position, typeAccuracy, posAccuracy]: [[Array]]  |PARAMETER2=
|descr= Create a target.


|p3= type: [[String]] |PARAMETER3=
|pr= {{Feature|warning|This command is not implemented.}}


|p4= position: [[Position]] Placement |PARAMETER4=
|s1= obj [[createTarget]] [type, position, typeAccuracy, posAccuracy]


|p5= typeAccuracy: [[Number]] |PARAMETER5=
|p1= obj: [[Object]]


|p6= posAccuracy: [[Number]] |PARAMETER6=
|p2= type: [[String]]


| [[Target]] |RETURNVALUE=
|p3= position: [[Position]] Placement
____________________________________________________________________________________________


____________________________________________________________________________________________
|p4= typeAccuracy: [[Number]]


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


}}
|r1= [[Target]]


<h3 style="display:none">Notes</h3>
|x1= <sqf>_target = createTarget ["targetType", [0,0,0], 1, 1];</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[moveTarget]] [[deleteTarget]]
</dl>
}}
 
<h3 style="display:none">Bottom Section</h3>

Latest revision as of 01: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