createTarget: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Future use only)
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(36 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{future-use}}
{{RV|type=command
[[Category:Scripting Commands|CREATETARGET]]
[[Category:Scripting Commands ArmA|CREATETARGET]]


{{Command|= Comments
|game1= arma1
____________________________________________________________________________________________
|version1= 1.00


| arma |= Game name
|game2= arma2
|version2= 1.00


x1= t|1.00|= Game version
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| Create a target. <b>Not yet implemented.</b>  |= Description
|game4= tkoh
____________________________________________________________________________________________
|version4= 1.00


| obj '''createTarget''' [type, position, typeAccuracy, posAccuracy ] |= Syntax
|game5= arma3
|version5= 0.50


|p1= obj: [[Object]] |= Parameter 1
|gr1= Broken Commands


|p2= type: [[String]] Unknown  |= Parameter 2
|descr= Create a target.


|p3= position: [[Position]] Placement Position  |= Parameter 3
|pr= {{Feature|warning|This command is not implemented.}}


|p4= typeAccuracy: [[Number]] Unknown  |= Parameter 4
|s1= obj [[createTarget]] [type, position, typeAccuracy, posAccuracy]


|p5= posAccuracy: [[Number]] Unknown  |= Parameter 5
|p1= obj: [[Object]]


| [[Target]] |= Return value
|p2= type: [[String]]
____________________________________________________________________________________________


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


| [[moveTarget]] |= See also
|p4= typeAccuracy: [[Number]]


}}
|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